Package org.jboss.jdeparser
Interface JAssignableExpr
- All Superinterfaces:
JCommentable,JExpr,JStatement
- All Known Implementing Classes:
AbstractJAssignableExpr,ArrayLookupJExpr,FieldRefJExpr,NameJExpr,StaticRefJExpr
An expression which is assignable (that is, is a valid "lvalue").
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionCombine this expression with another using the binary+=operator.Combine this expression with another using the binary&=operator.Combine this expression with another using the binary=operator.Combine this expression with another using the binary/=operator.lshrAssign(JExpr e1) Combine this expression with another using the binary>>>=operator.Combine this expression with another using the binary%=operator.Combine this expression with another using the binary*=operator.Combine this expression with another using the binary|=operator.postDec()Apply the postfix--operator to this expression.postInc()Apply the postfix++operator to this expression.preDec()Apply the prefix--operator to this expression.preInc()Apply the prefix++operator to this expression.Combine this expression with another using the binary<<=operator.Combine this expression with another using the binary>>=operator.Combine this expression with another using the binary-=operator.Combine this expression with another using the binary^=operator.Methods inherited from interface org.jboss.jdeparser.JCommentable
blockComment, lineCommentMethods inherited from interface org.jboss.jdeparser.JExpr
_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, or, paren, plus, shl, shr, times
-
Method Details
-
assign
Combine this expression with another using the binary=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
addAssign
Combine this expression with another using the binary+=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
subAssign
Combine this expression with another using the binary-=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
mulAssign
Combine this expression with another using the binary*=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
divAssign
Combine this expression with another using the binary/=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
modAssign
Combine this expression with another using the binary%=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
andAssign
Combine this expression with another using the binary&=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
orAssign
Combine this expression with another using the binary|=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
xorAssign
Combine this expression with another using the binary^=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
shrAssign
Combine this expression with another using the binary>>=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
lshrAssign
Combine this expression with another using the binary>>>=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
shlAssign
Combine this expression with another using the binary<<=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
postInc
JExpr postInc()Apply the postfix++operator to this expression.- Returns:
- the new expression
-
postDec
JExpr postDec()Apply the postfix--operator to this expression.- Returns:
- the new expression
-
preInc
JExpr preInc()Apply the prefix++operator to this expression.- Returns:
- the new expression
-
preDec
JExpr preDec()Apply the prefix--operator to this expression.- Returns:
- the new expression
-