public class LdcInsnNode extends AbstractInsnNode
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
cst
The constant to be loaded on the stack.
|
opcode
Constructor and Description |
---|
LdcInsnNode(java.lang.Object cst)
Constructs a new
LdcInsnNode object. |
Modifier and Type | Method and Description |
---|---|
void |
accept(CodeVisitor cv)
Makes the given code visitor visit this instruction.
|
getOpcode
public java.lang.Object cst
Integer
, a Float
, a
Long
, a Double
a String
or a Type
.public LdcInsnNode(java.lang.Object cst)
LdcInsnNode
object.cst
- the constant to be loaded on the stack. This parameter must be
a non null Integer
, a Float
, a Long
, a Double
or a String
.public void accept(CodeVisitor cv)
AbstractInsnNode
accept
in class AbstractInsnNode
cv
- a code visitor.