java.lang.Class .
| Modifier and Type | Class and Description |
|---|---|
| protected static class | ClassConstant.ForReferenceType
A class constant for a non-primitive |
| Modifier and Type | Field and Description |
|---|---|
| public static final ClassConstant | BOOLEAN
The |
| public static final ClassConstant | BYTE
The |
| public static final ClassConstant | CHARACTER
The |
| private static final String | CLASS_TYPE_INTERNAL_NAME
The descriptor of the |
| public static final ClassConstant | DOUBLE
The |
| private final String | fieldOwnerInternalName
The internal name of the type owning the field. |
| public static final ClassConstant | FLOAT
The |
| public static final ClassConstant | INTEGER
The |
| public static final ClassConstant | LONG
The |
| private static final String | PRIMITIVE_TYPE_FIELD
The field name that stores a reference to the primitive type representation. |
| public static final ClassConstant | SHORT
The |
| private static final StackManipulation. | SIZE
The size of a |
| public static final ClassConstant | VOID
The |
| Access | Constructor and Description |
|---|---|
| private | ClassConstant(Class<?>
The primitive type to represent. type)Creates a new class constant for a primitive type. |
| Modifier and Type | Method and Description |
|---|---|
| public StackManipulation. | apply(MethodVisitor
The method visitor used to write the method implementation to. methodVisitor, Implementation.The context of the current implementation. implementationContextImplements net. |
| public boolean | isValid()
Implements net. |
| public static StackManipulation | Returns: The corresponding stack manipulation.The type to load onto the operand stack. typeDescription)Returns a stack manipulation that loads a |
| public static ClassConstant | |
| public static ClassConstant[] |
| BOOLEAN | back to summary |
|---|---|
| public static final ClassConstant BOOLEAN The | |
| BYTE | back to summary |
|---|---|
| public static final ClassConstant BYTE The | |
| CHARACTER | back to summary |
|---|---|
| public static final ClassConstant CHARACTER The | |
| CLASS_TYPE_INTERNAL_NAME | back to summary |
|---|---|
| private static final String CLASS_TYPE_INTERNAL_NAME The descriptor of the | |
| DOUBLE | back to summary |
|---|---|
| public static final ClassConstant DOUBLE The | |
| fieldOwnerInternalName | back to summary |
|---|---|
| private final String fieldOwnerInternalName The internal name of the type owning the field. | |
| FLOAT | back to summary |
|---|---|
| public static final ClassConstant FLOAT The | |
| INTEGER | back to summary |
|---|---|
| public static final ClassConstant INTEGER The | |
| LONG | back to summary |
|---|---|
| public static final ClassConstant LONG The | |
| PRIMITIVE_TYPE_FIELD | back to summary |
|---|---|
| private static final String PRIMITIVE_TYPE_FIELD The field name that stores a reference to the primitive type representation. | |
| SHORT | back to summary |
|---|---|
| public static final ClassConstant SHORT The | |
| SIZE | back to summary |
|---|---|
| private static final StackManipulation. The size of a | |
| VOID | back to summary |
|---|---|
| public static final ClassConstant VOID The | |
| ClassConstant | back to summary |
|---|---|
| private ClassConstant(Class<?> type) Creates a new class constant for a primitive type.
| |
| apply | back to summary |
|---|---|
| public StackManipulation. Implements net. Doc from net. Applies the stack manipulation that is described by this instance.
| |
| isValid | back to summary |
|---|---|
| public boolean isValid() Implements net. Doc from net. Determines if this stack manipulation is valid.
| |
| of | back to summary |
|---|---|
| public static StackManipulation of(TypeDescription typeDescription) Returns a stack manipulation that loads a
| |
| valueOf | back to summary |
|---|---|
| public static ClassConstant valueOf(String name) | |
| values | back to summary |
|---|---|
| public static ClassConstant[] values() | |
java.lang.Class .
| Modifier and Type | Field and Description |
|---|---|
| private final TypeDescription | typeDescription
The type which should be loaded onto the operand stack as a class value. |
| Access | Constructor and Description |
|---|---|
| protected | ForReferenceType(TypeDescription
A description of the class to load onto the stack. typeDescription)Creates a stack manipulation that represents loading a class constant onto the stack. |
| Modifier and Type | Method and Description |
|---|---|
| public StackManipulation. | apply(MethodVisitor
The method visitor used to write the method implementation to. methodVisitor, Implementation.The context of the current implementation. implementationContextImplements net. |
| public boolean | isValid()
Implements net. |
| typeDescription | back to summary |
|---|---|
| private final TypeDescription typeDescription The type which should be loaded onto the operand stack as a class value. | |
| ForReferenceType | back to summary |
|---|---|
| protected ForReferenceType(TypeDescription typeDescription) Creates a stack manipulation that represents loading a class constant onto the stack.
| |
| apply | back to summary |
|---|---|
| public StackManipulation. Implements net. Doc from net. Applies the stack manipulation that is described by this instance.
| |
| isValid | back to summary |
|---|---|
| public boolean isValid() Implements net. Doc from net. Determines if this stack manipulation is valid.
| |