rank must be in [1, 255]
element must not be void or array
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private final ClassDesc | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ClassDesc | arrayType()
Implements java. Returns a ClassDesc for an array type whose component type is described by this ClassDesc. |
| 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 | componentType()
Overrides default java. Returns the component type of this ClassDesc, if it describes
an array type, or |
| private String | |
| 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 | equals(Object o)
Overrides java. Implements java. Compare the specified object with this descriptor for equality. |
| public int | |
| public boolean | isArray()
Overrides default java. Returns whether this ClassDesc describes an array type. |
| public static ArrayClassDescImpl | |
| public static ArrayClassDescImpl | |
| 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 |
| cachedDescriptorString | back to summary |
|---|---|
| private String cachedDescriptorString
| |
| elementType | back to summary |
|---|---|
| private final ClassDesc elementType | |
| rank | back to summary |
|---|---|
| private final int rank | |
| ArrayClassDescImpl | back to summary |
|---|---|
| private ArrayClassDescImpl(ClassDesc elementType, int rank) | |
| 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.
| |
| 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.
| |
| componentType | back to summary |
|---|---|
| public ClassDesc componentType() Overrides default java. Doc from java. Returns the component type of this ClassDesc, if it describes
an array type, or
| |
| computeDescriptor | back to summary |
|---|---|
| private String computeDescriptor() | |
| 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. Doc from java. Compare the specified object with this descriptor for equality. 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
| |
| isArray | back to summary |
|---|---|
| public boolean isArray() Overrides default java. Doc from java. Returns whether this ClassDesc describes an array type.
| |
| ofValidated | back to summary |
|---|---|
| public static ArrayClassDescImpl ofValidated(ClassDesc elementType, int rank) | |
| ofValidatedDescriptor | back to summary |
|---|---|
| public static ArrayClassDescImpl ofValidatedDescriptor(String desc) | |
| 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-
| |