| Modifier and Type | Class and Description |
|---|---|
| public static enum | TypeArgument.
A type wildcard. |
| Modifier and Type | Field and Description |
|---|---|
| private final ReferenceTypeSignature | typeSignature
Type signature (will be null if wildcard == ANY). |
| private final TypeArgument. | wildcard
A wildcard type. |
| Access | Constructor and Description |
|---|---|
| private | TypeArgument(final TypeArgument.
The wildcard type wildcard,The type signature typeSignature)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addTypeAnnotation(final List<Classfile.
the type path typePath,the annotation annotationInfo)Implements abstract io. Add a type annotation. |
| public boolean | equals(final Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public void | findReferencedClassNames(final Set<String>
the referenced class names. refdClassNames)Get the names of any classes referenced in the type signature. |
| protected ClassInfo | getClassInfo()
Overrides io. Get the |
| protected String | getClassName()
Implements abstract io. The name of the class (used by |
| public ReferenceTypeSignature | Returns: The type signature.Get the type signature associated with the wildcard (or null, if the wildcard is ANY). |
| public TypeArgument. | Returns: The type wildcard.Get the type wildcard, which is one of {NONE, ANY, EXTENDS, SUPER}. |
| public int | |
| private static TypeArgument | |
| pack-priv static List | |
| pack-priv void | setScanResult(final ScanResult
the scan result scanResult)Overrides io. Set ScanResult backreferences in info objects after scan has completed. |
| protected void | toStringInternal(final boolean
whether to use simple names for classes. useSimpleNames, final AnnotationInfoList toplevel annotations to exclude, to eliminate duplication (toplevel annotations are both
class/field/method annotations and type annotations). annotationsToExclude, final StringBuilder the buf)StringBuilder to write to.Implements abstract io. Render type signature to string. |
| typeSignature | back to summary |
|---|---|
| private final ReferenceTypeSignature typeSignature Type signature (will be null if wildcard == ANY). | |
| wildcard | back to summary |
|---|---|
| private final TypeArgument. A wildcard type. | |
| TypeArgument | back to summary |
|---|---|
| private TypeArgument(final TypeArgument. Constructor.
| |
| addTypeAnnotation | back to summary |
|---|---|
| protected void addTypeAnnotation(final List<Classfile. Implements abstract io. Doc from io. Add a type annotation.
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| findReferencedClassNames | back to summary |
|---|---|
| public void findReferencedClassNames(final Set<String> refdClassNames) Get the names of any classes referenced in the type signature. | |
| getClassInfo | back to summary |
|---|---|
| protected ClassInfo getClassInfo() Overrides io. Doc from io. Get the | |
| getClassName | back to summary |
|---|---|
| protected String getClassName() Implements abstract io. Doc from io. The name of the class (used by | |
| getTypeSignature | back to summary |
|---|---|
| public ReferenceTypeSignature getTypeSignature() Get the type signature associated with the wildcard (or null, if the wildcard is ANY).
| |
| getWildcard | back to summary |
|---|---|
| public TypeArgument. Get the type wildcard, which is one of {NONE, ANY, EXTENDS, SUPER}.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| parse | back to summary |
|---|---|
| private static TypeArgument parse(final Parser parser, final String definingClassName) throws ParseException Parse a type argument.
| |
| parseList | back to summary |
|---|---|
| pack-priv static List Parse a list of type arguments.
| |
| setScanResult | back to summary |
|---|---|
| pack-priv void setScanResult(final ScanResult scanResult) Overrides io. Doc from io. Set ScanResult backreferences in info objects after scan has completed.
| |
| toStringInternal | back to summary |
|---|---|
| protected void toStringInternal(final boolean useSimpleNames, final AnnotationInfoList annotationsToExclude, final StringBuilder buf) Implements abstract io. Doc from io. Render type signature to string.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final TypeArgument. | ANY
The '?' wildcard. |
| public static final TypeArgument. | EXTENDS
extends. |
| public static final TypeArgument. | NONE
No wildcard. |
| public static final TypeArgument. | SUPER
super. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TypeArgument. | |
| public static TypeArgument. |
| ANY | back to summary |
|---|---|
| public static final TypeArgument. The '?' wildcard. | |
| EXTENDS | back to summary |
|---|---|
| public static final TypeArgument. extends. | |
| NONE | back to summary |
|---|---|
| public static final TypeArgument. No wildcard. | |
| SUPER | back to summary |
|---|---|
| public static final TypeArgument. super. | |
| Wildcard | back to summary |
|---|---|
| private Wildcard() | |
| valueOf | back to summary |
|---|---|
| public static TypeArgument. | |
| values | back to summary |
|---|---|
| public static TypeArgument. | |