Modifier and Type | Interface and Description |
---|---|
interface |
JAssignableExpr
An expression which is assignable (that is, is a valid "lvalue").
|
interface |
JBlock
A block of code, to which statements may be added.
|
interface |
JCatch
A
catch branch for a try block. |
interface |
JFor
A
for loop. |
interface |
JIf
An
if statement. |
interface |
JSwitch
A
switch statement. |
interface |
JTry
A
try block. |
Modifier and Type | Method and Description |
---|---|
JStatement |
JBlock._assert(JExpr expr)
Insert an
assert statement at this point. |
JStatement |
JBlock._assert(JExpr expr,
JExpr message)
Insert an
assert statement at this point with a message. |
JStatement |
JBlock._break()
Insert a
break statement at this point. |
JStatement |
JBlock._break(JLabel label)
Insert a labelled
break statement at this point. |
JStatement |
JBlock._continue()
Insert a
continue statement at this point. |
JStatement |
JBlock._continue(JLabel label)
Insert a labelled
continue statement at this point. |
JStatement |
JBlock._return()
Insert a
void return statement at this point. |
JStatement |
JBlock._return(JExpr expr)
Insert a
return statement at this point. |
JStatement |
JBlock._throw(JExpr expr)
Insert a
throw statement at this point. |
JStatement |
JBlock.add(JExpr expr)
Insert an expression statement at this point.
|
JStatement |
JBlock.addAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
+= ) expression at this point. |
JStatement |
JBlock.andAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
&= ) expression at this point. |
JStatement |
JBlock.assign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
= ) expression at this point. |
JStatement |
JBlock.divAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
/= ) expression at this point. |
JStatement |
JBlock.empty()
Insert an empty statement at this point (just a semicolon).
|
JStatement |
JBlock.lshrAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
>>>= ) expression at this point. |
JStatement |
JBlock.modAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
%= ) expression at this point. |
JStatement |
JBlock.mulAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
*= ) expression at this point. |
JStatement |
JBlock.orAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
|= ) expression at this point. |
JStatement |
JBlock.postDec(JAssignableExpr target)
Insert a postfix
-- expression at this point. |
JStatement |
JBlock.postInc(JAssignableExpr target)
Insert a postfix
++ expression at this point. |
JStatement |
JBlock.preDec(JAssignableExpr target)
Insert a prefix
-- expression at this point. |
JStatement |
JBlock.preInc(JAssignableExpr target)
Insert a prefix
++ expression at this point. |
JStatement |
JBlock.shlAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
<<= ) expression at this point. |
JStatement |
JBlock.shrAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
>>= ) expression at this point. |
JStatement |
JBlock.subAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
-= ) expression at this point. |
JStatement |
JBlock.xorAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
^= ) expression at this point. |
Copyright © 2019 JBoss by Red Hat. All rights reserved.