@Retention(value=CLASS)
@Target(value=PARAMETER)
public @interface CLocalVariable
CInject transformer method as a local variable.| Modifier and Type | Optional Element and Description |
|---|---|
int |
index
The var index of the local variable to get.
|
int |
loadOpcode
The opcode used to load the variable.
|
boolean |
modifiable
Copy the value of the local variable back to the caller method.
|
java.lang.String |
name
The name of the local variable found in the local variable table.
|
public abstract java.lang.String name
name() nor the index() is set, the parameter name will be used instead (if available).name() and index() are both set, the name will be used if found. Otherwise, the index will be used instead.public abstract int loadOpcode
public abstract boolean modifiable
Object to get any non-primitive variable, but it will be stored back as an Object and not as the original type.ClassCastException when not careful.