
public abstract class JUnaryOperation extends JExpression
| Constructor and Description |
|---|
JUnaryOperation(SourceInfo info,
JUnaryOperator op,
JExpression arg) |
| Modifier and Type | Method and Description |
|---|---|
JExpression |
getArg() |
JUnaryOperator |
getOp() |
JType |
getType()
Returns the type of this expression.
|
boolean |
hasSideEffects() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
makeStatementgetSourceInfo, setSourceInfo, toSource, toStringpublic JUnaryOperation(SourceInfo info, JUnaryOperator op, JExpression arg)
public JExpression getArg()
public JUnaryOperator getOp()
public JType getType()
HasTypepublic boolean hasSideEffects()
hasSideEffects in class JExpressionpublic void traverse(JVisitor visitor, Context ctx)
JVisitablevisitor - the visitor that should traverse this nodectx - the context of an existing traversalCopyright © 2018. All rights reserved.