| Modifier and Type | Field and Description |
|---|---|
| private ArrayClassInfo | arrayClassInfo
Array class info. |
| private String | className
Human-readable class name, e.g. "java.lang.String[]". |
| private Class | elementClassRef
The element class. |
| private final TypeSignature | nestedType
The nested type (another |
| private final String | typeSignatureStr
The raw type signature string for the array type. |
| Access | Constructor and Description |
|---|---|
| pack-priv | ArrayTypeSignature(final TypeSignature
The type signature of the array elements. elementTypeSignature, final int The number of array dimensions. numDims, final String Raw array type signature string (e.g. "[[I") typeSignatureStr)Constructor. |
| 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. |
| public ArrayClassInfo | Returns: theArrayClassInfo instance.Return an |
| protected ClassInfo | getClassInfo()
Overrides io. Get the |
| protected String | getClassName()
Implements abstract io. The name of the class (used by |
| public TypeSignature | Returns: The type signature of the innermost element type.Get the type signature of the innermost element type of the array. |
| public TypeSignature | Returns: The nested type.Get the nested type, which is another |
| public int | Returns: The number of dimensions of the array.Get the number of dimensions of the array. |
| public AnnotationInfoList | Returns: a list ofAnnotationInfo objects for the type annotations of on this array type, or null if
none.Overrides io. Get a list of |
| public String | Returns: the raw array type signature string.Get the raw array type signature string, e.g. "[[I". |
| public int | |
| public Class | Returns: The class reference, or null, if ignoreExceptions is true and there was an exception or error loading the class.Whether or not to ignore exceptions. ignoreExceptions)Overrides io. Obtain a |
| public Class | Returns: The class reference.Overrides io. Obtain a |
| public Class | Returns: aClass<?> reference for the innermost array element type. Also works for arrays of primitive
element type.Whether or not to ignore exceptions. ignoreExceptions)Get a |
| public Class | Returns: aClass<?> reference for the array element type. Also works for arrays of primitive element
type.Get a |
| pack-priv static ArrayTypeSignature | Returns: the array type signaturethe parser parser, final String the defining class name definingClassName)Hides io. Parses the array type signature. |
| 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. |
| arrayClassInfo | back to summary |
|---|---|
| private ArrayClassInfo arrayClassInfo Array class info. | |
| className | back to summary |
|---|---|
| private String className Human-readable class name, e.g. "java.lang.String[]". | |
| elementClassRef | back to summary |
|---|---|
| private Class<?> elementClassRef The element class. | |
| nestedType | back to summary |
|---|---|
| private final TypeSignature nestedType The nested type (another | |
| typeSignatureStr | back to summary |
|---|---|
| private final String typeSignatureStr The raw type signature string for the array type. | |
| ArrayTypeSignature | back to summary |
|---|---|
| pack-priv ArrayTypeSignature(final TypeSignature elementTypeSignature, final int numDims, final String typeSignatureStr) 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. | |
| getArrayClassInfo | back to summary |
|---|---|
| public ArrayClassInfo getArrayClassInfo() Return an
| |
| 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 | |
| getElementTypeSignature | back to summary |
|---|---|
| public TypeSignature getElementTypeSignature() Get the type signature of the innermost element type of the array.
| |
| getNestedType | back to summary |
|---|---|
| public TypeSignature getNestedType() Get the nested type, which is another
| |
| getNumDimensions | back to summary |
|---|---|
| public int getNumDimensions() Get the number of dimensions of the array.
| |
| getTypeAnnotationInfo | back to summary |
|---|---|
| public AnnotationInfoList getTypeAnnotationInfo() Overrides io. Get a list of
| |
| getTypeSignatureStr | back to summary |
|---|---|
| public String getTypeSignatureStr() Get the raw array type signature string, e.g. "[[I".
| |
| 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 |
|---|---|
| public Class Overrides io. Obtain a
| |
| loadClass | back to summary |
|---|---|
| public Class Overrides io. Obtain a
| |
| loadElementClass | back to summary |
|---|---|
| public Class Get a
| |
| loadElementClass | back to summary |
|---|---|
| public Class Get a
| |
| parse | back to summary |
|---|---|
| pack-priv static ArrayTypeSignature parse(final Parser parser, final String definingClassName) throws ParseException Hides io. Parses the array type signature.
| |
| 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.
| |