public class JNullLiteral extends JValueLiteral
Modifier and Type | Field and Description |
---|---|
static JNullLiteral |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
protected JValueLiteral |
cloneFrom(JValueLiteral value) |
JType |
getType()
Returns the type of this expression.
|
Object |
getValueObj() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
hasSideEffects
makeStatement
getSourceInfo, setSourceInfo, toSource, toString
public static final JNullLiteral INSTANCE
public JType getType()
HasType
public Object getValueObj()
getValueObj
in class JValueLiteral
public void traverse(JVisitor visitor, Context ctx)
JVisitable
visitor
- the visitor that should traverse this nodectx
- the context of an existing traversalprotected JValueLiteral cloneFrom(JValueLiteral value)
cloneFrom
in class JValueLiteral
Copyright © 2018. All rights reserved.