| Modifier and Type | Field and Description |
|---|---|
| public Object | cst
The constant to be loaded on the stack. |
| Access | Constructor and Description |
|---|---|
| public | LdcInsnNode(final Object
the constant to be loaded on the stack. This parameter mist be a non null value)Integer, a Float, a Long, a Double, a String, a Type of OBJECT or ARRAY sort for .class constants, for classes whose version is
49, a Type of METHOD sort for MethodType, a Handle for MethodHandle
constants, for classes whose version is 51 or a ConstantDynamic for a constant
dynamic for classes whose version is 55.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. |
| cst | back to summary |
|---|---|
| public Object cst The constant to be loaded on the stack. This field must be a non null | |
| LdcInsnNode | back to summary |
|---|---|
| public LdcInsnNode(final Object value) 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.
| |