public enum ArrayAccess extends Enum<ArrayAccess>
| Modifier and Type | Class and Description | 
|---|---|
| protected class  | ArrayAccess.LoaderA stack manipulation for loading an array's value. | 
| protected class  | ArrayAccess.PutterA stack manipulation for storing an array's value. | 
| Enum Constant and Description | 
|---|
| BYTEAccess for a  byte- orboolean-typed array. | 
| CHARACTERAccess for a  char-typed array. | 
| DOUBLEAccess for a  double-typed array. | 
| FLOATAccess for a  float-typed array. | 
| INTEGERAccess for a  int-typed array. | 
| LONGAccess for a  long-typed array. | 
| REFERENCEAccess for a reference-typed array. | 
| SHORTAccess for a  short-typed array. | 
| Modifier and Type | Method and Description | 
|---|---|
| StackManipulation | forEach(List<? extends StackManipulation> processInstructions)Applies a stack manipulation to the values of an array. | 
| StackManipulation | load()Creates a value-loading stack manipulation. | 
| static ArrayAccess | of(TypeDefinition componentType)Locates an array accessor by the array's component type. | 
| StackManipulation | store()Creates a value-storing stack manipulation. | 
| static ArrayAccess | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static ArrayAccess[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ArrayAccess BYTE
byte- or boolean-typed array.public static final ArrayAccess SHORT
short-typed array.public static final ArrayAccess CHARACTER
char-typed array.public static final ArrayAccess INTEGER
int-typed array.public static final ArrayAccess LONG
long-typed array.public static final ArrayAccess FLOAT
float-typed array.public static final ArrayAccess DOUBLE
double-typed array.public static final ArrayAccess REFERENCE
public static ArrayAccess[] values()
for (ArrayAccess c : ArrayAccess.values()) System.out.println(c);
public static ArrayAccess valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ArrayAccess of(TypeDefinition componentType)
componentType - The array's component type.public StackManipulation load()
public StackManipulation store()
public StackManipulation forEach(List<? extends StackManipulation> processInstructions)
processInstructions - The elements to apply.Copyright © 2014–1970. All rights reserved.