Top Description Fields Constructors Methods
javassist.compiler.ast

public Class IntConst

extends ASTree
Class Inheritance
Imports
javassist.compiler.CompileError, .TokenId

Integer constant.

Field Summary

Modifier and TypeField and Description
private static final long
protected int
protected long

Constructor Summary

AccessConstructor and Description
public
IntConst(long v, int tokenId)

Method Summary

Modifier and TypeMethod and Description
public void
accept(Visitor v)

Implements abstract javassist.compiler.ast.ASTree.accept.

Is a method for the visitor pattern.

public ASTree
compute(int op, ASTree right)

private IntConst
compute0(int op, IntConst right)

private DoubleConst
compute0(int op, DoubleConst right)

public long
get()

public int
public void
set(long v)

public String
toString()

Overrides javassist.compiler.ast.ASTree.toString.

Returns a string representation of the object.

Inherited from javassist.compiler.ast.ASTree:
getLeftgetRightgetTagsetLeftsetRight

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javassist.compiler.ast.ASTree.serialVersionUID.

default serialVersionUID

typeback to summary
protected int type
valueback to summary
protected long value

Constructor Detail

IntConstback to summary
public IntConst(long v, int tokenId)

Method Detail

acceptback to summary
public void accept(Visitor v) throws CompileError

Implements abstract javassist.compiler.ast.ASTree.accept.

Doc from javassist.compiler.ast.ASTree.accept.

Is a method for the visitor pattern. It calls atXXX() on the given visitor, where XXX is the class name of the node object.

Annotations
@Override
computeback to summary
public ASTree compute(int op, ASTree right)
compute0back to summary
private IntConst compute0(int op, IntConst right)
compute0back to summary
private DoubleConst compute0(int op, DoubleConst right)
getback to summary
public long get()
getTypeback to summary
public int getType()
setback to summary
public void set(long v)
toStringback to summary
public String toString()

Overrides javassist.compiler.ast.ASTree.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override