Package org.jboss.jdeparser
Class UnaryJExpr
java.lang.Object
org.jboss.jdeparser.AbstractJExpr
org.jboss.jdeparser.UnaryJExpr
- Direct Known Subclasses:
IncDecJExpr
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AbstractJExpr
private final Tokens.$PUNCT.UNOP
private final boolean
-
Constructor Summary
ConstructorsConstructorDescriptionUnaryJExpr
(Tokens.$PUNCT.UNOP op, AbstractJExpr expr) UnaryJExpr
(Tokens.$PUNCT.UNOP op, AbstractJExpr expr, int prec) UnaryJExpr
(Tokens.$PUNCT.UNOP op, AbstractJExpr expr, int prec, boolean postfix) -
Method Summary
Modifier and TypeMethodDescription(package private) AbstractJExpr
(package private) boolean
void
write
(SourceFileWriter writer) Methods inherited from class org.jboss.jdeparser.AbstractJExpr
_instanceof, _instanceof, _instanceof, _new, _new, _new, _newAnon, _newAnon, _newAnon, $v, and, band, bor, bxor, call, cast, cast, cast, comp, cond, div, eq, field, ge, gt, idx, idx, le, length, lshr, lt, minus, mod, ne, neg, not, of, or, paren, plus, prec, shl, shr, times
-
Field Details
-
op
-
expr
-
postfix
private final boolean postfix
-
-
Constructor Details
-
UnaryJExpr
UnaryJExpr(Tokens.$PUNCT.UNOP op, AbstractJExpr expr) -
UnaryJExpr
UnaryJExpr(Tokens.$PUNCT.UNOP op, AbstractJExpr expr, int prec) -
UnaryJExpr
UnaryJExpr(Tokens.$PUNCT.UNOP op, AbstractJExpr expr, int prec, boolean postfix)
-
-
Method Details
-
getExpression
AbstractJExpr getExpression() -
isPostfix
boolean isPostfix() -
write
- Throws:
IOException
-