public class JLongLiteral extends JValueLiteral
Modifier and Type | Field and Description |
---|---|
static JLongLiteral |
ZERO |
Constructor and Description |
---|
JLongLiteral(SourceInfo sourceInfo,
long value) |
Modifier and Type | Method and Description |
---|---|
static JLongLiteral |
get(long value) |
JType |
getType()
Returns the type of this expression.
|
long |
getValue() |
Object |
getValueObj() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
hasSideEffects
makeReturnStatement, makeStatement
getSourceInfo, setSourceInfo, toSource, toString
public static final JLongLiteral ZERO
public JLongLiteral(SourceInfo sourceInfo, long value)
public static JLongLiteral get(long value)
public JType getType()
HasType
public long getValue()
public Object getValueObj()
getValueObj
in class JValueLiteral
Copyright © 2018. All rights reserved.