|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavassist.compiler.ast.ASTree
javassist.compiler.ast.IntConst
public class IntConst
Integer constant.
Field Summary | |
---|---|
protected int |
type
|
protected long |
value
|
Constructor Summary | |
---|---|
IntConst(long v,
int tokenId)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class javassist.compiler.ast.ASTree |
---|
getLeft, getRight, getTag, setLeft, setRight |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected long value
protected int type
Constructor Detail |
---|
public IntConst(long v, int tokenId)
Method Detail |
---|
public long get()
public void set(long v)
public int getType()
public java.lang.String toString()
toString
in class ASTree
public void accept(Visitor v) throws CompileError
ASTree
atXXX()
on the given visitor, where
XXX
is the class name of the node object.
accept
in class ASTree
CompileError
public ASTree compute(int op, ASTree right)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |