Package org.jboss.jdeparser
Class AbstractJAssignableExpr
java.lang.Object
org.jboss.jdeparser.AbstractJExpr
org.jboss.jdeparser.AbstractJAssignableExpr
- All Implemented Interfaces:
JAssignableExpr,JCommentable,JExpr,JStatement,Writable
- Direct Known Subclasses:
ArrayLookupJExpr,FieldRefJExpr,NameJExpr,StaticRefJExpr
-
Field Summary
Fields -
Constructor Summary
Constructors -
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.Add a block comment.private BasicJCommentableCombine this expression with another using the binary/=operator.Add a line comment.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 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, timesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Field Details
-
commentable
-
-
Constructor Details
-
AbstractJAssignableExpr
protected AbstractJAssignableExpr(int prec)
-
-
Method Details
-
preDec
Description copied from interface:JAssignableExprApply the prefix--operator to this expression.- Specified by:
preDecin interfaceJAssignableExpr- Returns:
- the new expression
-
preInc
Description copied from interface:JAssignableExprApply the prefix++operator to this expression.- Specified by:
preIncin interfaceJAssignableExpr- Returns:
- the new expression
-
postDec
Description copied from interface:JAssignableExprApply the postfix--operator to this expression.- Specified by:
postDecin interfaceJAssignableExpr- Returns:
- the new expression
-
postInc
Description copied from interface:JAssignableExprApply the postfix++operator to this expression.- Specified by:
postIncin interfaceJAssignableExpr- Returns:
- the new expression
-
shlAssign
Description copied from interface:JAssignableExprCombine this expression with another using the binary<<=operator.- Specified by:
shlAssignin interfaceJAssignableExpr- Parameters:
e1- the other expression- Returns:
- the combined expression
-
lshrAssign
Description copied from interface:JAssignableExprCombine this expression with another using the binary>>>=operator.- Specified by:
lshrAssignin interfaceJAssignableExpr- Parameters:
e1- the other expression- Returns:
- the combined expression
-
shrAssign
Description copied from interface:JAssignableExprCombine this expression with another using the binary>>=operator.- Specified by:
shrAssignin interfaceJAssignableExpr- Parameters:
e1- the other expression- Returns:
- the combined expression
-
xorAssign
Description copied from interface:JAssignableExprCombine this expression with another using the binary^=operator.- Specified by:
xorAssignin interfaceJAssignableExpr- Parameters:
e1- the other expression- Returns:
- the combined expression
-
orAssign
Description copied from interface:JAssignableExprCombine this expression with another using the binary|=operator.- Specified by:
orAssignin interfaceJAssignableExpr- Parameters:
e1- the other expression- Returns:
- the combined expression
-
andAssign
Description copied from interface:JAssignableExprCombine this expression with another using the binary&=operator.- Specified by:
andAssignin interfaceJAssignableExpr- Parameters:
e1- the other expression- Returns:
- the combined expression
-
modAssign
Description copied from interface:JAssignableExprCombine this expression with another using the binary%=operator.- Specified by:
modAssignin interfaceJAssignableExpr- Parameters:
e1- the other expression- Returns:
- the combined expression
-
divAssign
Description copied from interface:JAssignableExprCombine this expression with another using the binary/=operator.- Specified by:
divAssignin interfaceJAssignableExpr- Parameters:
e1- the other expression- Returns:
- the combined expression
-
mulAssign
Description copied from interface:JAssignableExprCombine this expression with another using the binary*=operator.- Specified by:
mulAssignin interfaceJAssignableExpr- Parameters:
e1- the other expression- Returns:
- the combined expression
-
subAssign
Description copied from interface:JAssignableExprCombine this expression with another using the binary-=operator.- Specified by:
subAssignin interfaceJAssignableExpr- Parameters:
e1- the other expression- Returns:
- the combined expression
-
addAssign
Description copied from interface:JAssignableExprCombine this expression with another using the binary+=operator.- Specified by:
addAssignin interfaceJAssignableExpr- Parameters:
e1- the other expression- Returns:
- the combined expression
-
assign
Description copied from interface:JAssignableExprCombine this expression with another using the binary=operator.- Specified by:
assignin interfaceJAssignableExpr- Parameters:
e1- the other expression- Returns:
- the combined expression
-
commentable
-
lineComment
Description copied from interface:JCommentableAdd a line comment.- Specified by:
lineCommentin interfaceJCommentable- Returns:
- the line comment body
-
blockComment
Description copied from interface:JCommentableAdd a block comment.- Specified by:
blockCommentin interfaceJCommentable- Returns:
- the block comment body
-