Package org.jboss.jdeparser
Interface JAssignableExpr
-
- All Superinterfaces:
JCommentable,JExpr,JStatement
- All Known Implementing Classes:
AbstractJAssignableExpr,ArrayLookupJExpr,FieldRefJExpr,NameJExpr,StaticRefJExpr
public interface JAssignableExpr extends JExpr, JStatement
An expression which is assignable (that is, is a valid "lvalue").
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JExpraddAssign(JExpr e1)Combine this expression with another using the binary+=operator.JExprandAssign(JExpr e1)Combine this expression with another using the binary&=operator.JExprassign(JExpr e1)Combine this expression with another using the binary=operator.JExprdivAssign(JExpr e1)Combine this expression with another using the binary/=operator.JExprlshrAssign(JExpr e1)Combine this expression with another using the binary>>>=operator.JExprmodAssign(JExpr e1)Combine this expression with another using the binary%=operator.JExprmulAssign(JExpr e1)Combine this expression with another using the binary*=operator.JExprorAssign(JExpr e1)Combine this expression with another using the binary|=operator.JExprpostDec()Apply the postfix--operator to this expression.JExprpostInc()Apply the postfix++operator to this expression.JExprpreDec()Apply the prefix--operator to this expression.JExprpreInc()Apply the prefix++operator to this expression.JExprshlAssign(JExpr e1)Combine this expression with another using the binary<<=operator.JExprshrAssign(JExpr e1)Combine this expression with another using the binary>>=operator.JExprsubAssign(JExpr e1)Combine this expression with another using the binary-=operator.JExprxorAssign(JExpr e1)Combine this expression with another using the binary^=operator.-
Methods inherited from interface org.jboss.jdeparser.JCommentable
blockComment, lineComment
-
Methods 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 Detail
-
assign
JExpr assign(JExpr e1)
Combine this expression with another using the binary=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
addAssign
JExpr addAssign(JExpr e1)
Combine this expression with another using the binary+=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
subAssign
JExpr subAssign(JExpr e1)
Combine this expression with another using the binary-=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
mulAssign
JExpr mulAssign(JExpr e1)
Combine this expression with another using the binary*=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
divAssign
JExpr divAssign(JExpr e1)
Combine this expression with another using the binary/=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
modAssign
JExpr modAssign(JExpr e1)
Combine this expression with another using the binary%=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
andAssign
JExpr andAssign(JExpr e1)
Combine this expression with another using the binary&=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
orAssign
JExpr orAssign(JExpr e1)
Combine this expression with another using the binary|=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
xorAssign
JExpr xorAssign(JExpr e1)
Combine this expression with another using the binary^=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
shrAssign
JExpr shrAssign(JExpr e1)
Combine this expression with another using the binary>>=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
lshrAssign
JExpr lshrAssign(JExpr e1)
Combine this expression with another using the binary>>>=operator.- Parameters:
e1- the other expression- Returns:
- the combined expression
-
shlAssign
JExpr shlAssign(JExpr e1)
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
-
-