
public class JIntLiteral extends JValueLiteral
| Modifier and Type | Field and Description |
|---|---|
static JIntLiteral |
ZERO |
| Constructor and Description |
|---|
JIntLiteral(SourceInfo sourceInfo,
int value) |
| Modifier and Type | Method and Description |
|---|---|
static JIntLiteral |
get(int value) |
JType |
getType()
Returns the type of this expression.
|
int |
getValue() |
Object |
getValueObj() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
hasSideEffectsmakeReturnStatement, makeStatementgetSourceInfo, setSourceInfo, toSource, toStringpublic static final JIntLiteral ZERO
public JIntLiteral(SourceInfo sourceInfo, int value)
public static JIntLiteral get(int value)
public JType getType()
HasTypepublic int getValue()
public Object getValueObj()
getValueObj in class JValueLiteralCopyright © 2018. All rights reserved.