This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | ReferenceParser.
Context dependent parsing mode which either disallows, allows or requires a member reference. |
| public static class | ReferenceParser.
An exception that indicates an error occurred while parsing a signature. |
| public static class | ReferenceParser.
An object to contain the result of parsing a reference to an API element. |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ParserFactory |
| Access | Constructor and Description |
|---|---|
| public | ReferenceParser(ParserFactory
a factory for parsing Java source code. fac)Create a parser object to parse reference signatures. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public ReferenceParser. | Returns: aReference object containing the result of parsing the signaturethe signature to be parsed sig, ReferenceParser.the parsing mode modeParse a reference to an API element as may be found in doc comment. |
| private Name | |
| private JCTree. | |
| private List | |
| private JCTree |
| fac | back to summary |
|---|---|
| private final ParserFactory fac | |
| ReferenceParser | back to summary |
|---|---|
| public ReferenceParser(ParserFactory fac) Create a parser object to parse reference signatures.
| |
| checkDiags | back to summary |
|---|---|
| private void checkDiags(Log. | |
| parse | back to summary |
|---|---|
| public ReferenceParser. Parse a reference to an API element as may be found in doc comment.
| |
| parseMember | back to summary |
|---|---|
| private Name parseMember(String sig, int beginIndex, int endIndex, Log. | |
| parseModule | back to summary |
|---|---|
| private JCTree. | |
| parseParams | back to summary |
|---|---|
| private List | |
| parseType | back to summary |
|---|---|
| private JCTree parseType(String sig, int beginIndex, int endIndex, Log. | |
MEMBER_OPTIONAL value also allows
arbitrary URI fragments using a double hash mark.
| Modifier and Type | Field and Description |
|---|---|
| public static final ReferenceParser. | |
| public static final ReferenceParser. | |
| public static final ReferenceParser. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ReferenceParser. | |
| public static ReferenceParser. |
| MEMBER_DISALLOWED | back to summary |
|---|---|
| public static final ReferenceParser. | |
| MEMBER_OPTIONAL | back to summary |
|---|---|
| public static final ReferenceParser. | |
| MEMBER_REQUIRED | back to summary |
|---|---|
| public static final ReferenceParser. | |
| Mode | back to summary |
|---|---|
| private Mode() | |
| valueOf | back to summary |
|---|---|
| public static ReferenceParser. | |
| values | back to summary |
|---|---|
| public static ReferenceParser. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| pos | back to summary |
|---|---|
| pack-priv final int pos | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ParseException | back to summary |
|---|---|
| pack-priv ParseException(int pos, String message) | |
| Modifier and Type | Field and Description |
|---|---|
| public final Name | member
The member name, if any, in the signature. |
| public final JCTree. | |
| public final List | paramTypes
The parameter types, if any, in the signature. |
| public final JCTree | qualExpr
The type, if any, in the signature. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| member | back to summary |
|---|---|
| public final Name member The member name, if any, in the signature. | |
| moduleName | back to summary |
|---|---|
| public final JCTree. | |
| paramTypes | back to summary |
|---|---|
| public final List<JCTree> paramTypes The parameter types, if any, in the signature. | |
| qualExpr | back to summary |
|---|---|
| public final JCTree qualExpr The type, if any, in the signature. | |
| Reference | back to summary |
|---|---|
| pack-priv Reference(JCTree. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Tree | reduce(Tree t1, Tree t2)
Overrides com. Reduces two results into a combined result. |
| public Tree | visitAnnotatedType(AnnotatedTypeTree t, Void ignore)
Overrides com. Implements com. Visits an |
| TypeAnnotationFinder | back to summary |
|---|---|
| pack-priv TypeAnnotationFinder() | |
| reduce | back to summary |
|---|---|
| public Tree reduce(Tree t1, Tree t2) Overrides com. Doc from com. Reduces two results into a combined result. The default implementation is to return the first parameter. The general contract of the method is that it may take any action whatsoever.
| |
| visitAnnotatedType | back to summary |
|---|---|
| public Tree visitAnnotatedType(AnnotatedTypeTree t, Void ignore) Overrides com. Implements com. Doc from com. Visits an
| |