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 voidaccept(Visitor v)Is a method for the visitor pattern.ASTreecompute(int op, ASTree right)private DoubleConstcompute0(int op, DoubleConst right)private IntConstcompute0(int op, IntConst right)longget()intgetType()voidset(long v)java.lang.StringtoString()
-
-
-
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:ASTreeIs a method for the visitor pattern. It callsatXXX()on the given visitor, whereXXXis the class name of the node object.- Specified by:
acceptin classASTree- Throws:
CompileError
-
compute0
private DoubleConst compute0(int op, DoubleConst right)
-
-