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 LdcInsnNode} object.
Method Summary
voidaccept(CodeVisitor cv)

Field Detail

cst

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

Constructor Detail

LdcInsnNode

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

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

Method Detail

accept

public void accept(CodeVisitor cv)