Class<?>, as found in an annotation parameter value.
| Modifier and Type | Field and Description |
|---|---|
| private transient String | className
The class name. |
| private String | typeDescriptorStr
The type descriptor str. |
| private transient TypeSignature | typeSignature
The type signature. |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| 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 ClassInfo | Returns: TheClassInfo object for the referenced class, or null if the referenced class was not
encountered during scanning (i.e. if no ClassInfo object was created for the class during scanning).
N.B. even if this method returns null, loadClass() may be able to load the referenced class
by name.Overrides io. Get the class info. |
| protected String | getClassName()
Implements abstract io. The name of the class (used by |
| public String | |
| private TypeSignature | Returns: The type signature of theClass<?> reference. This will be a ClassRefTypeSignature, a
BaseTypeSignature, or an ArrayTypeSignature.Get the type signature. |
| public int | |
| public Class | Returns: TheClass<?> reference for the referenced class.if true, ignore exceptions and instead return null if the class could not be loaded. ignoreExceptions)Overrides io. Loads the referenced class, returning a |
| public Class | Returns: TheClass<?> reference for the referenced class.Overrides io. Loads the referenced class, returning a |
| pack-priv void | setScanResult(final ScanResult
the scan result scanResult)Overrides io. Set ScanResult backreferences in info objects after scan has completed. |
| protected void | toString(final boolean
if true, use just the simple name of each class. useSimpleNames, final StringBuilder the buf buf)Implements abstract io. Render to string. |
| className | back to summary |
|---|---|
| private transient String className The class name. | |
| typeDescriptorStr | back to summary |
|---|---|
| private String typeDescriptorStr The type descriptor str. | |
| typeSignature | back to summary |
|---|---|
| private transient TypeSignature typeSignature The type signature. | |
| AnnotationClassRef | back to summary |
|---|---|
| pack-priv AnnotationClassRef() Constructor. | |
| AnnotationClassRef | back to summary |
|---|---|
| pack-priv AnnotationClassRef(final String typeDescriptorStr) Constructor.
| |
| 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. | |
| getClassInfo | back to summary |
|---|---|
| public ClassInfo getClassInfo() Overrides io. Get the class info.
| |
| getClassName | back to summary |
|---|---|
| protected String getClassName() Implements abstract io. Doc from io. The name of the class (used by | |
| getName | back to summary |
|---|---|
| public String getName() Get the name of the referenced class.
| |
| getTypeSignature | back to summary |
|---|---|
| private TypeSignature getTypeSignature() Get the type signature.
| |
| 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. Loads the referenced class, returning a
| |
| loadClass | back to summary |
|---|---|
| public Class Overrides io. Loads the referenced class, returning a
| |
| 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.
| |
| toString | back to summary |
|---|---|
| protected void toString(final boolean useSimpleNames, final StringBuilder buf) Implements abstract io. Doc from io. Render to string.
| |