| Modifier and Type | Class and Description |
|---|---|
| protected class | ArrayAccess.Loader
A stack manipulation for loading an array's value. |
| protected class | ArrayAccess.Putter
A stack manipulation for storing an array's value. |
| Modifier and Type | Field and Description |
|---|---|
| public static final ArrayAccess | BYTE
Access for a |
| public static final ArrayAccess | CHARACTER
Access for a |
| public static final ArrayAccess | DOUBLE
Access for a |
| public static final ArrayAccess | FLOAT
Access for a |
| public static final ArrayAccess | INTEGER
Access for a |
| private final int | loadOpcode
The opcode used for loading a value. |
| public static final ArrayAccess | LONG
Access for a |
| public static final ArrayAccess | REFERENCE
Access for a reference-typed array. |
| public static final ArrayAccess | SHORT
Access for a |
| private final StackSize | stackSize
The size of the array's component value. |
| private final int | storeOpcode
The opcode used for storing a value. |
| Access | Constructor and Description |
|---|---|
| private | ArrayAccess(int
The opcode used for loading a value. loadOpcode, int The opcode used for storing a value. storeOpcode, StackSize The size of the array's component value. stackSize)Creates a new array access. |
| Modifier and Type | Method and Description |
|---|---|
| public StackManipulation | Returns: A stack manipulation that applies the supplied instructions.The elements to apply. processInstructions)Applies a stack manipulation to the values of an array. |
| public StackManipulation | |
| public static ArrayAccess | Returns: An array accessor for the given type.The array's component type. componentType)Locates an array accessor by the array's component type. |
| public StackManipulation | |
| public static ArrayAccess | |
| public static ArrayAccess[] |
| BYTE | back to summary |
|---|---|
| public static final ArrayAccess BYTE Access for a | |
| CHARACTER | back to summary |
|---|---|
| public static final ArrayAccess CHARACTER Access for a | |
| DOUBLE | back to summary |
|---|---|
| public static final ArrayAccess DOUBLE Access for a | |
| FLOAT | back to summary |
|---|---|
| public static final ArrayAccess FLOAT Access for a | |
| INTEGER | back to summary |
|---|---|
| public static final ArrayAccess INTEGER Access for a | |
| loadOpcode | back to summary |
|---|---|
| private final int loadOpcode The opcode used for loading a value. | |
| LONG | back to summary |
|---|---|
| public static final ArrayAccess LONG Access for a | |
| REFERENCE | back to summary |
|---|---|
| public static final ArrayAccess REFERENCE Access for a reference-typed array. | |
| SHORT | back to summary |
|---|---|
| public static final ArrayAccess SHORT Access for a | |
| stackSize | back to summary |
|---|---|
| private final StackSize stackSize The size of the array's component value. | |
| storeOpcode | back to summary |
|---|---|
| private final int storeOpcode The opcode used for storing a value. | |
| ArrayAccess | back to summary |
|---|---|
| private ArrayAccess(int loadOpcode, int storeOpcode, StackSize stackSize) Creates a new array access.
| |
| forEach | back to summary |
|---|---|
| public StackManipulation forEach(List<? extends StackManipulation> processInstructions) Applies a stack manipulation to the values of an array. The array must have at least as many values as the list has elements.
| |
| load | back to summary |
|---|---|
| public StackManipulation load() Creates a value-loading stack manipulation.
| |
| of | back to summary |
|---|---|
| public static ArrayAccess of(TypeDefinition componentType) Locates an array accessor by the array's component type.
| |
| store | back to summary |
|---|---|
| public StackManipulation store() Creates a value-storing stack manipulation.
| |
| valueOf | back to summary |
|---|---|
| public static ArrayAccess valueOf(String name) | |
| values | back to summary |
|---|---|
| public static ArrayAccess[] values() | |
| Access | Constructor and Description |
|---|---|
| protected |
| 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. |
| Loader | back to summary |
|---|---|
| protected Loader() | |
| apply | back to summary |
|---|---|
| public StackManipulation. Implements net. Doc from net. Applies the stack manipulation that is described by this instance.
| |
| Access | Constructor and Description |
|---|---|
| protected |
| 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. |
| Putter | back to summary |
|---|---|
| protected Putter() | |
| apply | back to summary |
|---|---|
| public StackManipulation. Implements net. Doc from net. Applies the stack manipulation that is described by this instance.
| |