| Modifier and Type | Field and Description |
|---|---|
| private final char | typeSignatureChar
The type signature character used to represent the base type. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addTypeAnnotation(final List<Classfile.
The type path. typePath,The annotation to add. annotationInfo)Implements abstract io. Add a type annotation to this type. |
| 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 boolean | equalsIgnoringTypeParams(final TypeSignature
the other other)TypeSignature to compare to.Implements abstract io. Compare base types, ignoring generic type parameters. |
| protected void | findReferencedClassNames(final Set<String>
the referenced class names. refdClassNames)Overrides io. 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 |
| pack-priv static Class | Returns: The type class, e.g. int.class, or null if there was no match.the type character, e.g. 'I'. typeChar)Get the type for a type character. |
| public Class | Returns: The class of the base type, such as int.class, float.class, or void.class.Get the type. |
| pack-priv static char | Returns: The type, character, e.g. 'I', or '\0' if there was no match.the type character, e.g. "int". typeStr)Get the name of the type as a string. |
| public char | Returns: the type signature char, as a one-char String.Get the type signature char used to represent the type, e.g. 'I' for int. |
| pack-priv static String | Returns: The name of the type, e.g. "int", or null if there was no match.the type character, e.g. 'I'. typeChar)Get the name of the type as a string. |
| public String | Returns: The name of the type, such as "int", "float", or "void".Get the name of the type as a string. |
| public int | |
| pack-priv Class | loadClass()
Overrides io. Load the class named returned by |
| pack-priv <T> Class | loadClass(final Class<T>
The type to cast the resulting class reference to. superclassOrInterfaceType)Overrides io. Load the class named returned by |
| pack-priv static BaseTypeSignature | |
| 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. |
| typeSignatureChar | back to summary |
|---|---|
| private final char typeSignatureChar The type signature character used to represent the base type. | |
| BaseTypeSignature | back to summary |
|---|---|
| pack-priv BaseTypeSignature(final char typeSignatureChar) Constructor. | |
| addTypeAnnotation | back to summary |
|---|---|
| protected void addTypeAnnotation(final List<Classfile. Implements abstract io. Doc from io. Add a type annotation to this type.
| |
| 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. | |
| equalsIgnoringTypeParams | back to summary |
|---|---|
| public boolean equalsIgnoringTypeParams(final TypeSignature other) Implements abstract io. Doc from io. Compare base types, ignoring generic type parameters.
| |
| findReferencedClassNames | back to summary |
|---|---|
| protected void findReferencedClassNames(final Set<String> refdClassNames) Overrides io. 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 | |
| getType | back to summary |
|---|---|
| pack-priv static Class Get the type for a type character.
| |
| getType | back to summary |
|---|---|
| public Class Get the type.
| |
| getTypeChar | back to summary |
|---|---|
| pack-priv static char getTypeChar(final String typeStr) Get the name of the type as a string.
| |
| getTypeSignatureChar | back to summary |
|---|---|
| public char getTypeSignatureChar() Get the type signature char used to represent the type, e.g. 'I' for int.
| |
| getTypeStr | back to summary |
|---|---|
| pack-priv static String getTypeStr(final char typeChar) Get the name of the type as a string.
| |
| getTypeStr | back to summary |
|---|---|
| public String getTypeStr() Get the name of the type as a string.
| |
| 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
| |
| loadClass | back to summary |
|---|---|
| pack-priv Class Overrides io. Doc from io. Load the class named returned by | |
| loadClass | back to summary |
|---|---|
| pack-priv <T> Class Overrides io. Doc from io. Load the class named returned by | |
| parse | back to summary |
|---|---|
| pack-priv static BaseTypeSignature parse(final Parser parser) Parse a base type.
| |
| 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.
| |