org.objectweb.asm.tree

Class LdcInsnNode

public class LdcInsnNode extends AbstractInsnNode

A node that represents an LDC instruction.

Author: Eric Bruneton

Field Summary
Objectcst
The constant to be loaded on the stack.
Constructor Summary
LdcInsnNode(Object cst)
Constructs a new {@link LdcInsnNode}.
Method Summary
voidaccept(MethodVisitor mv)
intgetType()

Field Detail

cst

public Object cst
The constant to be loaded on the stack. This parameter must be a non null {@link Integer}, a {@link Float}, a {@link Long}, a {@link Double}, a {@link String} or a {@link org.objectweb.asm.Type}.

Constructor Detail

LdcInsnNode

public LdcInsnNode(Object cst)
Constructs a new {@link LdcInsnNode}.

Parameters: cst the constant to be loaded on the stack. This parameter must be a non null {@link Integer}, a {@link Float}, a {@link Long}, a {@link Double} or a {@link String}.

Method Detail

accept

public void accept(MethodVisitor mv)

getType

public int getType()