| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ReferenceTypeSignature | classBound
Class bound -- may be null. |
| pack-priv final List | interfaceBounds
Interface bounds -- may be empty. |
| pack-priv final String | name
The type parameter identifier. |
| Access | Constructor and Description |
|---|---|
| protected | TypeParameter(final String
The type parameter identifier. identifier, final ReferenceTypeSignature The type parameter class bound. classBound, final List<ReferenceTypeSignature> The type parameter interface bound. interfaceBounds)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. |
| protected void | findReferencedClassNames(final Set<String>
the referenced class names. refdClassNames)Get the names of any classes referenced in the type signature. |
| public ReferenceTypeSignature | Returns: The type parameter class bound. May be null.Get the type parameter class bound. |
| protected ClassInfo | getClassInfo()
Overrides io. Get the |
| protected String | getClassName()
Implements abstract io. The name of the class (used by |
| public List | Returns: Get the type parameter interface bound(s), which may be the empty list.Get the type parameter interface bound(s). |
| public String | |
| public int | |
| pack-priv static List | Returns: the list ofTypeParameter objects.the parser parser, final String the defining class name definingClassName)Parse a list of type parameters into |
| 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. |
| classBound | back to summary |
|---|---|
| pack-priv final ReferenceTypeSignature classBound Class bound -- may be null. | |
| interfaceBounds | back to summary |
|---|---|
| pack-priv final List<ReferenceTypeSignature> interfaceBounds Interface bounds -- may be empty. | |
| name | back to summary |
|---|---|
| pack-priv final String name The type parameter identifier. | |
| TypeParameter | back to summary |
|---|---|
| protected TypeParameter(final String identifier, final ReferenceTypeSignature classBound, final List<ReferenceTypeSignature> interfaceBounds) 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 |
|---|---|
| protected void findReferencedClassNames(final Set<String> refdClassNames) Get the names of any classes referenced in the type signature. | |
| getClassBound | back to summary |
|---|---|
| public ReferenceTypeSignature getClassBound() Get the type parameter class bound.
| |
| 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 | |
| getInterfaceBounds | back to summary |
|---|---|
| public List Get the type parameter interface bound(s).
| |
| getName | back to summary |
|---|---|
| public String getName() Get the type parameter identifier.
| |
| 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
| |
| parseList | back to summary |
|---|---|
| pack-priv static List Parse a list of type parameters into
| |
| 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.
| |