int.class).
| Modifier and Type | Field and Description |
|---|---|
| public static final PrimitiveClassDescImpl | CD_boolean
|
| public static final PrimitiveClassDescImpl | |
| public static final PrimitiveClassDescImpl | |
| public static final PrimitiveClassDescImpl | |
| public static final PrimitiveClassDescImpl | |
| public static final PrimitiveClassDescImpl | |
| public static final PrimitiveClassDescImpl | |
| public static final PrimitiveClassDescImpl | |
| public static final PrimitiveClassDescImpl | |
| private final String | |
| private Wrapper |
| Access | Constructor and Description |
|---|---|
| private | PrimitiveClassDescImpl(String
the descriptor string, which must be a one-character
string corresponding to one of the nine base types descriptor)Creates a ClassDesc given a descriptor string for a primitive type. |
| 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 | isPrimitive()
Overrides default java. Returns whether this ClassDesc describes a primitive type. |
| public Class | resolveConstantDesc(MethodHandles.
Overrides java. 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 | toString()
Overrides java. Returns a compact textual description of this constant description, including the bootstrap method, the constant name and type, and the static bootstrap arguments. |
| public Wrapper |
| CD_boolean | back to summary |
|---|---|
| public static final PrimitiveClassDescImpl CD_boolean
| |
| CD_byte | back to summary |
|---|---|
| public static final PrimitiveClassDescImpl CD_byte
| |
| CD_char | back to summary |
|---|---|
| public static final PrimitiveClassDescImpl CD_char
| |
| CD_double | back to summary |
|---|---|
| public static final PrimitiveClassDescImpl CD_double
| |
| CD_float | back to summary |
|---|---|
| public static final PrimitiveClassDescImpl CD_float
| |
| CD_int | back to summary |
|---|---|
| public static final PrimitiveClassDescImpl CD_int
| |
| CD_long | back to summary |
|---|---|
| public static final PrimitiveClassDescImpl CD_long
| |
| CD_short | back to summary |
|---|---|
| public static final PrimitiveClassDescImpl CD_short
| |
| CD_void | back to summary |
|---|---|
| public static final PrimitiveClassDescImpl CD_void
| |
| descriptor | back to summary |
|---|---|
| private final String descriptor | |
| lazyWrapper | back to summary |
|---|---|
| private Wrapper lazyWrapper
| |
| PrimitiveClassDescImpl | back to summary |
|---|---|
| private PrimitiveClassDescImpl(String descriptor) Creates a ClassDesc given a descriptor string for a primitive type.
| |
| 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
| |
| isPrimitive | back to summary |
|---|---|
| public boolean isPrimitive() Overrides default java. Doc from java. Returns whether this ClassDesc describes a primitive type.
| |
| resolveConstantDesc | back to summary |
|---|---|
| public Class Overrides java. 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 compact textual description of this constant description, including the bootstrap method, the constant name and type, and the static bootstrap arguments.
| |
| wrapper | back to summary |
|---|---|
| public Wrapper wrapper() | |