Package javassist.compiler.ast
Class IntConst
- java.lang.Object
-
- javassist.compiler.ast.ASTree
-
- javassist.compiler.ast.IntConst
-
- All Implemented Interfaces:
java.io.Serializable
public class IntConst extends ASTree
Integer constant.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IntConst(long v, int tokenId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Visitor v)
Is a method for the visitor pattern.ASTree
compute(int op, ASTree right)
long
get()
int
getType()
void
set(long v)
java.lang.String
toString()
-
-
-
Method Detail
-
get
public long get()
-
set
public void set(long v)
-
getType
public int getType()
-
accept
public void accept(Visitor v) throws CompileError
Description copied from class:ASTree
Is a method for the visitor pattern. It callsatXXX()
on the given visitor, whereXXX
is the class name of the node object.- Specified by:
accept
in classASTree
- Throws:
CompileError
-
-