diff options
author | Jeff Johnston | 2019-03-08 23:37:46 +0000 |
---|---|---|
committer | Vikas Chandra | 2019-03-25 04:41:05 +0000 |
commit | 7dd8745650d01bdb6132484e7cee2c76fc35bea8 (patch) | |
tree | 2ae45580286fafd2c7c2c490d0c5a69c4d0a9af4 /org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TagElement.java | |
parent | 24d47c292ed4bd8fdc28b3c2f9afdab1401d025c (diff) | |
download | eclipse.jdt.core-I20190325-0105.tar.gz eclipse.jdt.core-I20190325-0105.tar.xz eclipse.jdt.core-I20190325-0105.zip |
Bug 544362 - Add support for Java 9/10/11 Javadoc tagsI20190325-0105
- add new @hidden, @index, and @summary
tag support to JavadocTagConstants, setting all for JDK 9
except for @summary which is JDK 10
- in IModuleDescription add new methods to get the provides and
uses service names and implement these new methods in
DocCommentParser and AbstractModule
- in JavadocParser, add support @hidden, @index, and
@summary
- add support for the new tags in TagElement
- modify JavadocCompletionParserTest
Change-Id: Icd266865ff6fd3fdd1056d567c0e91de613eb300
Signed-off-by: Jeff Johnston <jjohnstn@redhat.com>
Diffstat (limited to 'org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TagElement.java')
-rw-r--r-- | org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TagElement.java | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TagElement.java b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TagElement.java index fefb927774..71463bcf61 100644 --- a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TagElement.java +++ b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TagElement.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2013 IBM Corporation and others. + * Copyright (c) 2004, 2019 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -112,8 +112,20 @@ public final class TagElement extends ASTNode implements IDocElement { * Standard doc tag name (value {@value}). */ public static final String TAG_EXCEPTION = "@exception"; //$NON-NLS-1$ + + /** + * Standard doc tag name (value {@value}). + * @since 3.18 + */ + public static final String TAG_HIDDEN = "@hidden"; //$NON-NLS-1$ /** + * Standard doc tag name (value {@value}). + * @since 3.18 + */ + public static final String TAG_INDEX = "@index"; //$NON-NLS-1$ + + /** * Standard inline doc tag name (value {@value}). */ public static final String TAG_INHERITDOC = "@inheritDoc"; //$NON-NLS-1$ @@ -144,6 +156,12 @@ public final class TagElement extends ASTNode implements IDocElement { /** * Standard doc tag name (value {@value}). + * @since 3.18 + */ + public static final String TAG_PROVIDES = "@provides"; //$NON-NLS-1$ + + /** + * Standard doc tag name (value {@value}). */ public static final String TAG_RETURN = "@return"; //$NON-NLS-1$ @@ -174,10 +192,22 @@ public final class TagElement extends ASTNode implements IDocElement { /** * Standard doc tag name (value {@value}). + * @since 3.18 + */ + public static final String TAG_SUMMARY = "@summary"; //$NON-NLS-1$ + + /** + * Standard doc tag name (value {@value}). */ public static final String TAG_THROWS = "@throws"; //$NON-NLS-1$ /** + * Standard doc tag name (value {@value}). + * @since 3.18 + */ + public static final String TAG_USES = "@uses"; //$NON-NLS-1$ + + /** * Standard inline doc tag name (value {@value}). */ public static final String TAG_VALUE= "@value"; //$NON-NLS-1$ |