| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ClassDesc | arrayType(int rank)
Implements java. Returns a ClassDesc for an array type of the specified rank, whose component type is described by this ClassDesc. |
| public ClassDesc | arrayType()
Implements java. Returns a ClassDesc for an array type whose component type is described by this ClassDesc. |
| public String | descriptorString()
Implements java. Returns a field type descriptor string for this type |
| public String | displayName()
Implements java. Returns a human-readable name for this |
| public boolean | Returns: true if the specified ClassDesc
is equal to this ClassDesc.the o)ClassDesc to compare to this
ClassDescOverrides java. Implements java. Returns |
| public int | |
| public String | |
| public boolean | isClassOrInterface()
Overrides default java. Returns whether this ClassDesc describes a class or interface type. |
| public ClassDesc | nested(String nestedName)
Overrides default java. Returns a ClassDesc for a nested class of the class or interface type described by this ClassDesc. |
| public ClassDesc | |
| public static ClassOrInterfaceDescImpl | ofValidated(String descriptor)
Creates a ClassOrInterfaceDescImpl from a pre-validated descriptor string for a class or interface. |
| public String | packageName()
Overrides default java. Returns the package name of this ClassDesc, if it describes a class or interface type. |
| public Class | resolveConstantDesc(MethodHandles.
Implements java. Resolves this descriptor reflectively, emulating the resolution behavior of JVMS 5.4.3 and the access control behavior of JVMS 5.4.4. |
| public String |
| descriptor | back to summary |
|---|---|
| private final String descriptor | |
| internalName | back to summary |
|---|---|
| private String internalName
| |
| ClassOrInterfaceDescImpl | back to summary |
|---|---|
| pack-priv ClassOrInterfaceDescImpl(String descriptor) | |
| arrayType | back to summary |
|---|---|
| public ClassDesc arrayType(int rank) Implements java. Doc from java. Returns a ClassDesc for an array type of the specified rank, whose component type is described by this ClassDesc.
| |
| arrayType | back to summary |
|---|---|
| public ClassDesc arrayType() Implements java. Doc from java. Returns a ClassDesc for an array type whose component type is described by this ClassDesc.
| |
| descriptorString | back to summary |
|---|---|
| public String descriptorString() Implements java. Doc from java. Returns a field type descriptor string for this type
| |
| displayName | back to summary |
|---|---|
| public String displayName() Implements java. Doc from java. Returns a human-readable name for this
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Implements java. Returns | |
| 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
| |
| internalName | back to summary |
|---|---|
| public String internalName() | |
| isClassOrInterface | back to summary |
|---|---|
| public boolean isClassOrInterface() Overrides default java. Doc from java. Returns whether this ClassDesc describes a class or interface type.
| |
| nested | back to summary |
|---|---|
| public ClassDesc nested(String nestedName) Overrides default java. Doc from java. Returns a ClassDesc for a nested class of the class or interface type described by this ClassDesc.
| |
| nested | back to summary |
|---|---|
| public ClassDesc nested(String firstNestedName, String... moreNestedNames) Overrides default java. Doc from java. Returns a ClassDesc for a nested class of the class or interface type described by this ClassDesc.
| |
| ofValidated | back to summary |
|---|---|
| public static ClassOrInterfaceDescImpl ofValidated(String descriptor) Creates a ClassOrInterfaceDescImpl from a pre-validated descriptor string for a class or interface. | |
| packageName | back to summary |
|---|---|
| public String packageName() Overrides default java. Doc from java. Returns the package name of this ClassDesc, if it describes a class or interface type.
| |
| resolveConstantDesc | back to summary |
|---|---|
| public Class Implements java. Doc from java. Resolves this descriptor reflectively, emulating the resolution behavior
of JVMS 5.4.3 and the access control behavior of JVMS 5.4.4. The resolution
and access control context is provided by the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |