| Modifier and Type | Field and Description |
|---|---|
| public String | desc
The field's descriptor (see |
| public String | name
The field's name. |
| public String | owner
The internal name of the field's owner class (see |
| Access | Constructor and Description |
|---|---|
| public | FieldInsnNode(final int
the opcode of the type instruction to be constructed. This opcode must be
GETSTATIC, PUTSTATIC, GETFIELD or PUTFIELD. opcode, final String the internal name of the field's owner class (see owner, final String org.).the field's name. name, final String the field's descriptor (see descriptor)org.).Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final MethodVisitor
a method visitor. methodVisitor)Implements abstract org. |
| public AbstractInsnNode | clone(final Map<LabelNode, LabelNode>
a map from LabelNodes to cloned LabelNodes. clonedLabels)Implements abstract org. |
| public int | getType()
Implements abstract org. |
| public void | setOpcode(final int
the new instruction opcode. This opcode must be GETSTATIC, PUTSTATIC, GETFIELD or
PUTFIELD. opcode)Sets the opcode of this instruction. |
| desc | back to summary |
|---|---|
| public String desc The field's descriptor (see | |
| name | back to summary |
|---|---|
| public String name The field's name. | |
| owner | back to summary |
|---|---|
| public String owner The internal name of the field's owner class (see | |
| FieldInsnNode | back to summary |
|---|---|
| public FieldInsnNode(final int opcode, final String owner, final String name, final String descriptor) Constructs a new
| |
| accept | back to summary |
|---|---|
| public void accept(final MethodVisitor methodVisitor) Implements abstract org. Doc from org. Makes the given method visitor visit this instruction.
| |
| clone | back to summary |
|---|---|
| public AbstractInsnNode clone(final Map<LabelNode, LabelNode> clonedLabels) Implements abstract org. Doc from org. Returns a copy of this instruction. | |
| getType | back to summary |
|---|---|
| public int getType() Implements abstract org. Doc from org. Returns the type of this instruction.
| |
| setOpcode | back to summary |
|---|---|
| public void setOpcode(final int opcode) Sets the opcode of this instruction.
| |