abstract class AbstractJAssignableExpr extends AbstractJExpr implements JAssignableExpr
Modifier and Type | Field and Description |
---|---|
private BasicJCommentable |
commentable |
Modifier | Constructor and Description |
---|---|
protected |
AbstractJAssignableExpr(int prec) |
Modifier and Type | Method and Description |
---|---|
JExpr |
addAssign(JExpr e1)
Combine this expression with another using the binary
+= operator. |
JExpr |
andAssign(JExpr e1)
Combine this expression with another using the binary
&= operator. |
JExpr |
assign(JExpr e1)
Combine this expression with another using the binary
= operator. |
JComment |
blockComment()
Add a block comment.
|
private BasicJCommentable |
commentable() |
JExpr |
divAssign(JExpr e1)
Combine this expression with another using the binary
/= operator. |
JComment |
lineComment()
Add a line comment.
|
JExpr |
lshrAssign(JExpr e1)
Combine this expression with another using the binary
>>>= operator. |
JExpr |
modAssign(JExpr e1)
Combine this expression with another using the binary
%= operator. |
JExpr |
mulAssign(JExpr e1)
Combine this expression with another using the binary
*= operator. |
JExpr |
orAssign(JExpr e1)
Combine this expression with another using the binary
|= operator. |
JExpr |
postDec()
Apply the postfix
-- operator to this expression. |
JExpr |
postInc()
Apply the postfix
++ operator to this expression. |
JExpr |
preDec()
Apply the prefix
-- operator to this expression. |
JExpr |
preInc()
Apply the prefix
++ operator to this expression. |
JExpr |
shlAssign(JExpr e1)
Combine this expression with another using the binary
<<= operator. |
JExpr |
shrAssign(JExpr e1)
Combine this expression with another using the binary
>>= operator. |
JExpr |
subAssign(JExpr e1)
Combine this expression with another using the binary
-= operator. |
JExpr |
xorAssign(JExpr e1)
Combine this expression with another using the binary
^= operator. |
_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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_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
private BasicJCommentable commentable
public JExpr preDec()
JAssignableExpr
--
operator to this expression.preDec
in interface JAssignableExpr
public JExpr preInc()
JAssignableExpr
++
operator to this expression.preInc
in interface JAssignableExpr
public JExpr postDec()
JAssignableExpr
--
operator to this expression.postDec
in interface JAssignableExpr
public JExpr postInc()
JAssignableExpr
++
operator to this expression.postInc
in interface JAssignableExpr
public JExpr shlAssign(JExpr e1)
JAssignableExpr
<<=
operator.shlAssign
in interface JAssignableExpr
e1
- the other expressionpublic JExpr lshrAssign(JExpr e1)
JAssignableExpr
>>>=
operator.lshrAssign
in interface JAssignableExpr
e1
- the other expressionpublic JExpr shrAssign(JExpr e1)
JAssignableExpr
>>=
operator.shrAssign
in interface JAssignableExpr
e1
- the other expressionpublic JExpr xorAssign(JExpr e1)
JAssignableExpr
^=
operator.xorAssign
in interface JAssignableExpr
e1
- the other expressionpublic JExpr orAssign(JExpr e1)
JAssignableExpr
|=
operator.orAssign
in interface JAssignableExpr
e1
- the other expressionpublic JExpr andAssign(JExpr e1)
JAssignableExpr
&=
operator.andAssign
in interface JAssignableExpr
e1
- the other expressionpublic JExpr modAssign(JExpr e1)
JAssignableExpr
%=
operator.modAssign
in interface JAssignableExpr
e1
- the other expressionpublic JExpr divAssign(JExpr e1)
JAssignableExpr
/=
operator.divAssign
in interface JAssignableExpr
e1
- the other expressionpublic JExpr mulAssign(JExpr e1)
JAssignableExpr
*=
operator.mulAssign
in interface JAssignableExpr
e1
- the other expressionpublic JExpr subAssign(JExpr e1)
JAssignableExpr
-=
operator.subAssign
in interface JAssignableExpr
e1
- the other expressionpublic JExpr addAssign(JExpr e1)
JAssignableExpr
+=
operator.addAssign
in interface JAssignableExpr
e1
- the other expressionpublic JExpr assign(JExpr e1)
JAssignableExpr
=
operator.assign
in interface JAssignableExpr
e1
- the other expressionprivate BasicJCommentable commentable()
public JComment lineComment()
JCommentable
lineComment
in interface JCommentable
public JComment blockComment()
JCommentable
blockComment
in interface JCommentable