
public class JBooleanLiteral extends JValueLiteral
| Modifier and Type | Field and Description |
|---|---|
static JBooleanLiteral |
FALSE |
static JBooleanLiteral |
TRUE |
| Modifier and Type | Method and Description |
|---|---|
static JBooleanLiteral |
get(boolean value) |
JType |
getType()
Returns the type of this expression.
|
boolean |
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 JBooleanLiteral FALSE
public static final JBooleanLiteral TRUE
public static JBooleanLiteral get(boolean value)
public JType getType()
HasTypepublic boolean getValue()
public Object getValueObj()
getValueObj in class JValueLiteralCopyright © 2018. All rights reserved.