Modifier and Type | Interface and Description |
---|---|
interface |
JAnonymousClassDef
An anonymous class definition.
|
interface |
JArrayExpr
An array expression, which can have more values added to it.
|
interface |
JAssignableExpr
An expression which is assignable (that is, is a valid "lvalue").
|
interface |
JCall
A method or constructor call.
|
interface |
JLambda
A Java 8 lambda.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
AbstractJAssignableExpr |
(package private) class |
AbstractJCall |
(package private) class |
AbstractJExpr |
(package private) class |
AbstractMethodJCall |
(package private) class |
ArrayLookupJExpr |
(package private) class |
AssignmentJExpr |
(package private) class |
BinaryJExpr |
(package private) class |
BooleanJExpr |
(package private) class |
CastJExpr |
(package private) class |
CharJExpr |
(package private) class |
CondJExpr |
(package private) class |
DecimalDoubleJExpr |
(package private) class |
DecimalFloatJExpr |
(package private) class |
DirectJCall |
(package private) class |
FieldRefJExpr |
(package private) class |
HexDoubleJExpr |
(package private) class |
HexFloatJExpr |
(package private) class |
ImplJAnonymousClassDef |
(package private) class |
IncDecJExpr |
(package private) class |
InnerJAnonymousClassDef |
(package private) class |
InnerNewJCall |
(package private) class |
InstanceJCall |
(package private) class |
InstanceOfJExpr |
(package private) class |
IntegerJExpr |
(package private) class |
JLambdaImpl |
(package private) class |
KeywordJCall |
(package private) class |
KeywordJExpr |
(package private) class |
LongJExpr |
(package private) class |
MethodRefJExpr |
(package private) class |
NameJExpr |
(package private) class |
NewDimJArrayExpr |
(package private) class |
NewJCall |
(package private) class |
NewUndimJArrayExpr |
(package private) class |
ParenJExpr |
(package private) class |
PlainJArrayExpr |
(package private) class |
StaticJCall |
(package private) class |
StaticRefJExpr |
(package private) class |
StringJExpr |
(package private) class |
UnaryJExpr |
Modifier and Type | Field and Description |
---|---|
private JExpr |
ConditionJBlock.cond |
private JExpr |
AnnotationJMethodDef.defaultVal |
private JExpr |
CaseJBlock.expr |
private JExpr |
ImplJSwitch.expr |
private JExpr |
KeywordExprJStatement.expr |
static JExpr |
JExpr.FALSE
The constant expression for
false . |
private JExpr |
ForEachJBlock.iterable |
private JExpr |
AbstractJExpr.length |
private JExpr |
AssertMessageJStatement.message |
static JExpr |
JExpr.NULL
The constant expression for
null . |
static JExpr |
JExpr.ONE
The constant expression for the integer one.
|
private JExpr |
InstanceJCall.target |
private JExpr |
ForJBlock.test |
static JExpr |
JExpr.THIS
The constant expression for
this . |
static JExpr |
JExpr.TRUE
The constant expression for
true . |
private JExpr |
ForJBlock.update |
private JExpr |
FirstJVarDeclaration.value |
private JExpr |
SuccessorJVarDeclaration.value |
static JExpr |
JExpr.ZERO
The constant expression for the integer zero.
|
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<JExpr> |
PlainJArrayExpr.members |
Modifier and Type | Method and Description |
---|---|
JExpr |
AbstractJType._class() |
JExpr |
ArrayJType._class() |
JExpr |
JType._class()
An expression of the form
ThisType.class . |
JExpr |
NarrowedJType._class() |
JExpr |
NestedJType._class() |
JExpr |
PrimitiveJType._class() |
JExpr |
ReferenceJType._class() |
JExpr |
ThisJType._class() |
JExpr |
AbstractJExpr._instanceof(java.lang.Class<?> type) |
JExpr |
JExpr._instanceof(java.lang.Class<?> type)
Get a type-testing expression using the
instanceof operator. |
JExpr |
AbstractJExpr._instanceof(JType type) |
JExpr |
JExpr._instanceof(JType type)
Get a type-testing expression using the
instanceof operator. |
JExpr |
AbstractJExpr._instanceof(java.lang.String type) |
JExpr |
JExpr._instanceof(java.lang.String type)
Get a type-testing expression using the
instanceof operator. |
JExpr |
AbstractJType._new(int dim) |
JExpr |
JType._new(int dim)
Construct a new instance of this array type.
|
JExpr |
AbstractJType._new(JExpr dim) |
JExpr |
ArrayJType._new(JExpr dim) |
JExpr |
JType._new(JExpr dim)
Construct a new instance of this array type.
|
JExpr |
AbstractJType._super() |
JExpr |
JType._super()
An expression of the form
ThisType.super . |
JExpr |
NarrowedJType._super() |
JExpr |
NestedJType._super() |
JExpr |
ReferenceJType._super() |
JExpr |
ThisJType._super() |
JExpr |
AbstractJType._this() |
JExpr |
JType._this()
An expression of the form
ThisType.this . |
JExpr |
NarrowedJType._this() |
JExpr |
NestedJType._this() |
JExpr |
ReferenceJType._this() |
JExpr |
ThisJType._this() |
JExpr |
AbstractJAssignableExpr.addAssign(JExpr e1) |
JExpr |
JAssignableExpr.addAssign(JExpr e1)
Combine this expression with another using the binary
+= operator. |
JExpr |
AbstractJExpr.and(JExpr e1) |
JExpr |
JExpr.and(JExpr e1)
Combine this expression with another using the binary
&& operator. |
JExpr |
AbstractJAssignableExpr.andAssign(JExpr e1) |
JExpr |
JAssignableExpr.andAssign(JExpr e1)
Combine this expression with another using the binary
&= operator. |
JExpr[] |
AbstractJCall.arguments() |
JExpr[] |
ImplJEnumConstant.arguments() |
JExpr[] |
JCall.arguments() |
JExpr[] |
JSimpleArgs.arguments()
Get the arguments defined thus far.
|
JExpr |
AbstractJAssignableExpr.assign(JExpr e1) |
JExpr |
JAssignableExpr.assign(JExpr e1)
Combine this expression with another using the binary
= operator. |
JExpr |
AbstractJExpr.band(JExpr e1) |
JExpr |
JExpr.band(JExpr e1)
Combine this expression with another using the binary
& operator. |
static JExpr |
JExprs.binary(int val)
Generate an
int value in binary base. |
static JExpr |
JExprs.binary(long val)
Generate a
long value in binary base. |
JExpr |
AbstractJExpr.bor(JExpr e1) |
JExpr |
JExpr.bor(JExpr e1)
Combine this expression with another using the binary
| operator. |
JExpr |
AbstractJExpr.bxor(JExpr e1) |
JExpr |
JExpr.bxor(JExpr e1)
Combine this expression with another using the binary
^ operator. |
JExpr |
AbstractJExpr.cast(java.lang.Class<?> type) |
JExpr |
JExpr.cast(java.lang.Class<?> type)
Get an expression which is a cast of this expression to the given type.
|
JExpr |
AbstractJExpr.cast(JType type) |
JExpr |
JExpr.cast(JType type)
Get an expression which is a cast of this expression to the given type.
|
JExpr |
AbstractJExpr.cast(java.lang.String type) |
JExpr |
JExpr.cast(java.lang.String type)
Get an expression which is a cast of this expression to the given type.
|
static JExpr |
JExprs.ch(int val)
Generate a
char value constant. |
JExpr |
AbstractJExpr.comp() |
JExpr |
JExpr.comp()
Invert this expression using the unary
~ operator. |
JExpr |
AbstractJExpr.cond(JExpr ifTrue,
JExpr ifFalse) |
JExpr |
JExpr.cond(JExpr ifTrue,
JExpr ifFalse)
Combine this expression with two others using the ternary
? : operator. |
static JExpr |
JExprs.decimal(double val)
Generate a
double value in decimal base. |
static JExpr |
JExprs.decimal(float val)
Generate a
float value in decimal base. |
static JExpr |
JExprs.decimal(int val)
Generate an
int value in decimal base. |
static JExpr |
JExprs.decimal(long val)
Generate a
long value in decimal base. |
JExpr |
AbstractJExpr.div(JExpr e1) |
JExpr |
JExpr.div(JExpr e1)
Combine this expression with another using the binary
/ operator. |
JExpr |
AbstractJAssignableExpr.divAssign(JExpr e1) |
JExpr |
JAssignableExpr.divAssign(JExpr e1)
Combine this expression with another using the binary
/= operator. |
JExpr |
AbstractJExpr.eq(JExpr e1) |
JExpr |
JExpr.eq(JExpr e1)
Combine this expression with another using the binary
== operator. |
JExpr |
AbstractJExpr.ge(JExpr e1) |
JExpr |
JExpr.ge(JExpr e1)
Combine this expression with another using the binary
>= operator. |
(package private) JExpr |
ConditionJBlock.getCondition() |
(package private) JExpr |
CaseJBlock.getExpression() |
(package private) JExpr |
ImplJSwitch.getExpression() |
(package private) JExpr |
KeywordExprJStatement.getExpression() |
(package private) JExpr |
InstanceJCall.getTarget() |
(package private) JExpr |
SuccessorJVarDeclaration.getValue() |
JExpr |
AbstractJExpr.gt(JExpr e1) |
JExpr |
JExpr.gt(JExpr e1)
Combine this expression with another using the binary
> operator. |
static JExpr |
JExprs.hex(double val)
Generate a
double value in hexadecimal base. |
static JExpr |
JExprs.hex(float val)
Generate a
float value in hexadecimal base. |
static JExpr |
JExprs.hex(int val)
Generate an
int value in hexadecimal base. |
static JExpr |
JExprs.hex(long val)
Generate a
long value in hexadecimal base. |
JExpr |
AbstractJExpr.idx(int idx) |
JExpr |
JExpr.idx(int idx)
Get an element of this array expression.
|
JExpr |
AbstractJExpr.le(JExpr e1) |
JExpr |
JExpr.le(JExpr e1)
Combine this expression with another using the binary
<= operator. |
JExpr |
AbstractJExpr.length() |
JExpr |
JExpr.length()
Get the
length expression of this array expression. |
JExpr |
AbstractJExpr.lshr(JExpr e1) |
JExpr |
JExpr.lshr(JExpr e1)
Combine this expression with another using the binary
>>> operator. |
JExpr |
AbstractJAssignableExpr.lshrAssign(JExpr e1) |
JExpr |
JAssignableExpr.lshrAssign(JExpr e1)
Combine this expression with another using the binary
>>>= operator. |
JExpr |
AbstractJExpr.lt(JExpr e1) |
JExpr |
JExpr.lt(JExpr e1)
Combine this expression with another using the binary
< operator. |
JExpr |
AbstractJType.methodRef(javax.lang.model.element.ExecutableElement method) |
JExpr |
JType.methodRef(javax.lang.model.element.ExecutableElement method)
Get a method reference of this type.
|
JExpr |
AbstractJType.methodRef(java.lang.String name) |
JExpr |
JType.methodRef(java.lang.String name)
Get a method reference of this type.
|
JExpr |
AbstractJExpr.minus(JExpr e1) |
JExpr |
JExpr.minus(JExpr e1)
Combine this expression with another using the binary
- operator. |
JExpr |
AbstractJExpr.mod(JExpr e1) |
JExpr |
JExpr.mod(JExpr e1)
Combine this expression with another using the binary
% operator. |
JExpr |
AbstractJAssignableExpr.modAssign(JExpr e1) |
JExpr |
JAssignableExpr.modAssign(JExpr e1)
Combine this expression with another using the binary
%= operator. |
JExpr |
AbstractJAssignableExpr.mulAssign(JExpr e1) |
JExpr |
JAssignableExpr.mulAssign(JExpr e1)
Combine this expression with another using the binary
*= operator. |
JExpr |
AbstractJExpr.ne(JExpr e1) |
JExpr |
JExpr.ne(JExpr e1)
Combine this expression with another using the binary
!= operator. |
JExpr |
AbstractJExpr.neg() |
JExpr |
JExpr.neg()
Negate this expression using the unary
- operator. |
JExpr |
AbstractJExpr.not() |
JExpr |
JExpr.not()
Invert this expression using the unary
! operator. |
JExpr |
AbstractJExpr.or(JExpr e1) |
JExpr |
JExpr.or(JExpr e1)
Combine this expression with another using the binary
|| operator. |
JExpr |
AbstractJAssignableExpr.orAssign(JExpr e1) |
JExpr |
JAssignableExpr.orAssign(JExpr e1)
Combine this expression with another using the binary
|= operator. |
JExpr |
AbstractJExpr.paren() |
JExpr |
JExpr.paren()
Explicitly wrap this expression in parentheses.
|
JExpr |
AbstractJExpr.plus(JExpr e1) |
JExpr |
JExpr.plus(JExpr e1)
Combine this expression with another using the binary
+ operator. |
JExpr |
AbstractJAssignableExpr.postDec() |
JExpr |
JAssignableExpr.postDec()
Apply the postfix
-- operator to this expression. |
JExpr |
AbstractJAssignableExpr.postInc() |
JExpr |
JAssignableExpr.postInc()
Apply the postfix
++ operator to this expression. |
JExpr |
AbstractJAssignableExpr.preDec() |
JExpr |
JAssignableExpr.preDec()
Apply the prefix
-- operator to this expression. |
JExpr |
AbstractJAssignableExpr.preInc() |
JExpr |
JAssignableExpr.preInc()
Apply the prefix
++ operator to this expression. |
JExpr |
AbstractJExpr.shl(JExpr e1) |
JExpr |
JExpr.shl(JExpr e1)
Combine this expression with another using the binary
<< operator. |
JExpr |
AbstractJAssignableExpr.shlAssign(JExpr e1) |
JExpr |
JAssignableExpr.shlAssign(JExpr e1)
Combine this expression with another using the binary
<<= operator. |
JExpr |
AbstractJExpr.shr(JExpr e1) |
JExpr |
JExpr.shr(JExpr e1)
Combine this expression with another using the binary
>> operator. |
JExpr |
AbstractJAssignableExpr.shrAssign(JExpr e1) |
JExpr |
JAssignableExpr.shrAssign(JExpr e1)
Combine this expression with another using the binary
>>= operator. |
static JExpr |
JExprs.str(java.lang.String string)
Generate a string constant value.
|
JExpr |
AbstractJAssignableExpr.subAssign(JExpr e1) |
JExpr |
JAssignableExpr.subAssign(JExpr e1)
Combine this expression with another using the binary
-= operator. |
JExpr |
BasicJBlock.tempVar(java.lang.Class<?> type,
JExpr value) |
JExpr |
JBlock.tempVar(java.lang.Class<?> type,
JExpr value)
Insert a local variable declaration at this point with a generated name.
|
JExpr |
BasicJBlock.tempVar(JType type,
JExpr value) |
JExpr |
JBlock.tempVar(JType type,
JExpr value)
Insert a local variable declaration at this point with a generated name.
|
JExpr |
BasicJBlock.tempVar(java.lang.String type,
JExpr value) |
JExpr |
JBlock.tempVar(java.lang.String type,
JExpr value)
Insert a local variable declaration at this point with a generated name.
|
JExpr |
AbstractJExpr.times(JExpr e1) |
JExpr |
JExpr.times(JExpr e1)
Combine this expression with another using the binary
* operator. |
JExpr |
AbstractJAssignableExpr.xorAssign(JExpr e1) |
JExpr |
JAssignableExpr.xorAssign(JExpr e1)
Combine this expression with another using the binary
^= operator. |
Modifier and Type | Method and Description |
---|---|
JStatement |
BasicJBlock._assert(JExpr expr) |
JStatement |
JBlock._assert(JExpr expr)
Insert an
assert statement at this point. |
JStatement |
BasicJBlock._assert(JExpr expr,
JExpr message) |
JStatement |
JBlock._assert(JExpr expr,
JExpr message)
Insert an
assert statement at this point with a message. |
JBlock |
ImplJSwitch._case(JExpr expr) |
JBlock |
JSwitch._case(JExpr expr)
Add a switch case.
|
JMethodDef |
AbstractJMethodDef._default(JExpr expr) |
JMethodDef |
AnnotationJMethodDef._default(JExpr defaultVal) |
JMethodDef |
JMethodDef._default(JExpr expr)
A default value for an annotation method.
|
JBlock |
BasicJBlock._do(JExpr cond) |
JBlock |
JBlock._do(JExpr cond)
Insert a
do /while statement at this point. |
JIf |
BasicJBlock._if(JExpr cond) |
JIf |
JBlock._if(JExpr cond)
Insert an
if statement at this point. |
JExpr |
AbstractJType._new(JExpr dim) |
JExpr |
ArrayJType._new(JExpr dim) |
JExpr |
JType._new(JExpr dim)
Construct a new instance of this array type.
|
JCall |
NarrowedJType._new(JExpr dim) |
JCall |
NestedJType._new(JExpr dim) |
JStatement |
BasicJBlock._return(JExpr expr) |
JStatement |
JBlock._return(JExpr expr)
Insert a
return statement at this point. |
JSwitch |
BasicJBlock._switch(JExpr expr) |
JSwitch |
JBlock._switch(JExpr expr)
Insert a
switch statement at this point. |
JBlock |
BasicJBlock._synchronized(JExpr synchExpr) |
JBlock |
JBlock._synchronized(JExpr synchExpr)
Insert a
synchronized block at this point. |
JStatement |
BasicJBlock._throw(JExpr expr) |
JStatement |
JBlock._throw(JExpr expr)
Insert a
throw statement at this point. |
JBlock |
BasicJBlock._while(JExpr cond) |
JBlock |
JBlock._while(JExpr cond)
Insert a
while statement at this point. |
JStatement |
BasicJBlock.add(JExpr expr) |
JArrayExpr |
JArrayExpr.add(JExpr value)
Add an element to this array.
|
JStatement |
JBlock.add(JExpr expr)
Insert an expression statement at this point.
|
JArrayExpr |
PlainJArrayExpr.add(JExpr value) |
JVarDeclaration |
FirstJVarDeclaration.add(java.lang.String name,
JExpr init) |
JVarDeclaration |
JVarDeclaration.add(java.lang.String name,
JExpr init)
Add another item to this declaration.
|
JVarDeclaration |
SuccessorJVarDeclaration.add(java.lang.String name,
JExpr init) |
JVarDeclaration |
TryJVarDeclaration.add(java.lang.String name,
JExpr init) |
JStatement |
BasicJBlock.addAssign(JAssignableExpr target,
JExpr e1) |
JStatement |
JBlock.addAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
+= ) expression at this point. |
JExpr |
AbstractJAssignableExpr.addAssign(JExpr e1) |
JExpr |
JAssignableExpr.addAssign(JExpr e1)
Combine this expression with another using the binary
+= operator. |
JExpr |
AbstractJExpr.and(JExpr e1) |
JExpr |
JExpr.and(JExpr e1)
Combine this expression with another using the binary
&& operator. |
JStatement |
BasicJBlock.andAssign(JAssignableExpr target,
JExpr e1) |
JStatement |
JBlock.andAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
&= ) expression at this point. |
JExpr |
AbstractJAssignableExpr.andAssign(JExpr e1) |
JExpr |
JAssignableExpr.andAssign(JExpr e1)
Combine this expression with another using the binary
&= operator. |
JCall |
AbstractJCall.arg(JExpr expr) |
JEnumConstant |
ImplJEnumConstant.arg(JExpr expr) |
JCall |
JCall.arg(JExpr expr)
Add an actual parameter argument to this call.
|
JEnumConstant |
JEnumConstant.arg(JExpr expr)
Add an argument.
|
JSimpleArgs |
JSimpleArgs.arg(JExpr expr)
Add an argument.
|
static JArrayExpr |
JExprs.array(JExpr... members)
Return a new array expression.
|
JStatement |
BasicJBlock.assign(JAssignableExpr target,
JExpr e1) |
JStatement |
JBlock.assign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
= ) expression at this point. |
JExpr |
AbstractJAssignableExpr.assign(JExpr e1) |
JExpr |
JAssignableExpr.assign(JExpr e1)
Combine this expression with another using the binary
= operator. |
JExpr |
AbstractJExpr.band(JExpr e1) |
JExpr |
JExpr.band(JExpr e1)
Combine this expression with another using the binary
& operator. |
JLambda |
JLambda.body(JExpr expr)
Set the lambda body as an expression.
|
JLambda |
JLambdaImpl.body(JExpr expression) |
JExpr |
AbstractJExpr.bor(JExpr e1) |
JExpr |
JExpr.bor(JExpr e1)
Combine this expression with another using the binary
| operator. |
JExpr |
AbstractJExpr.bxor(JExpr e1) |
JExpr |
JExpr.bxor(JExpr e1)
Combine this expression with another using the binary
^ operator. |
JCall |
BasicJBlock.call(JExpr obj,
javax.lang.model.element.ExecutableElement element) |
JCall |
JBlock.call(JExpr obj,
javax.lang.model.element.ExecutableElement element)
Insert a method invocation at this point.
|
JCall |
BasicJBlock.call(JExpr obj,
java.lang.String name) |
JCall |
JBlock.call(JExpr obj,
java.lang.String name)
Insert a method invocation at this point.
|
JExpr |
AbstractJExpr.cond(JExpr ifTrue,
JExpr ifFalse) |
JExpr |
JExpr.cond(JExpr ifTrue,
JExpr ifFalse)
Combine this expression with two others using the ternary
? : operator. |
JExpr |
AbstractJExpr.div(JExpr e1) |
JExpr |
JExpr.div(JExpr e1)
Combine this expression with another using the binary
/ operator. |
JStatement |
BasicJBlock.divAssign(JAssignableExpr target,
JExpr e1) |
JStatement |
JBlock.divAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
/= ) expression at this point. |
JExpr |
AbstractJAssignableExpr.divAssign(JExpr e1) |
JExpr |
JAssignableExpr.divAssign(JExpr e1)
Combine this expression with another using the binary
/= operator. |
JIf |
ImplJIf.elseIf(JExpr cond) |
JIf |
JIf.elseIf(JExpr cond)
Add an
if statement to the else block. |
JExpr |
AbstractJExpr.eq(JExpr e1) |
JExpr |
JExpr.eq(JExpr e1)
Combine this expression with another using the binary
== operator. |
JVarDeclaration |
AbstractJClassDef.field(java.util.ArrayList<ClassContent> content,
int mods,
JType type,
java.lang.String name,
JExpr init) |
JVarDeclaration |
Sectionable.field(java.util.ArrayList<ClassContent> content,
int mods,
JType type,
java.lang.String name,
JExpr init) |
JVarDeclaration |
AbstractJClassDef.field(int mods,
java.lang.Class<?> type,
java.lang.String name,
JExpr init) |
JVarDeclaration |
ImplJAnonymousClassDef.field(int mods,
java.lang.Class<?> type,
java.lang.String name,
JExpr init) |
JVarDeclaration |
JClassDefSection.field(int mods,
java.lang.Class<?> type,
java.lang.String name,
JExpr init)
Add a field to this type.
|
JVarDeclaration |
JClassDefSectionImpl.field(int mods,
java.lang.Class<?> type,
java.lang.String name,
JExpr init) |
JVarDeclaration |
AbstractJClassDef.field(int mods,
JType type,
java.lang.String name,
JExpr init) |
JVarDeclaration |
ImplJAnonymousClassDef.field(int mods,
JType type,
java.lang.String name,
JExpr init) |
JVarDeclaration |
JClassDefSection.field(int mods,
JType type,
java.lang.String name,
JExpr init)
Add a field to this type.
|
JVarDeclaration |
JClassDefSectionImpl.field(int mods,
JType type,
java.lang.String name,
JExpr init) |
JVarDeclaration |
AbstractJClassDef.field(int mods,
java.lang.String type,
java.lang.String name,
JExpr init) |
JVarDeclaration |
ImplJAnonymousClassDef.field(int mods,
java.lang.String type,
java.lang.String name,
JExpr init) |
JVarDeclaration |
JClassDefSection.field(int mods,
java.lang.String type,
java.lang.String name,
JExpr init)
Add a field to this type.
|
JVarDeclaration |
JClassDefSectionImpl.field(int mods,
java.lang.String type,
java.lang.String name,
JExpr init) |
JBlock |
BasicJBlock.forEach(int mods,
java.lang.Class<?> type,
java.lang.String name,
JExpr iterable) |
JBlock |
JBlock.forEach(int mods,
java.lang.Class<?> type,
java.lang.String name,
JExpr iterable)
Insert a "for-each" style
for loop at this point. |
JBlock |
BasicJBlock.forEach(int mods,
JType type,
java.lang.String name,
JExpr iterable) |
JBlock |
JBlock.forEach(int mods,
JType type,
java.lang.String name,
JExpr iterable)
Insert a "for-each" style
for loop at this point. |
JBlock |
BasicJBlock.forEach(int mods,
java.lang.String type,
java.lang.String name,
JExpr iterable) |
JBlock |
JBlock.forEach(int mods,
java.lang.String type,
java.lang.String name,
JExpr iterable)
Insert a "for-each" style
for loop at this point. |
JExpr |
AbstractJExpr.ge(JExpr e1) |
JExpr |
JExpr.ge(JExpr e1)
Combine this expression with another using the binary
>= operator. |
JExpr |
AbstractJExpr.gt(JExpr e1) |
JExpr |
JExpr.gt(JExpr e1)
Combine this expression with another using the binary
> operator. |
(package private) boolean |
ImplJSourceFile.hasStaticImport(JExpr expr,
SourceFileWriter writer) |
JAssignableExpr |
AbstractJExpr.idx(JExpr idx) |
JAssignableExpr |
JExpr.idx(JExpr idx)
Get an element of this array expression.
|
JVarDeclaration |
ForJBlock.init(int mods,
java.lang.Class<?> type,
java.lang.String name,
JExpr value) |
JVarDeclaration |
JFor.init(int mods,
java.lang.Class<?> type,
java.lang.String name,
JExpr value)
Add a loop initializer.
|
JVarDeclaration |
ForJBlock.init(int mods,
JType type,
java.lang.String name,
JExpr value) |
JVarDeclaration |
JFor.init(int mods,
JType type,
java.lang.String name,
JExpr value)
Add a loop initializer.
|
JVarDeclaration |
ForJBlock.init(int mods,
java.lang.String type,
java.lang.String name,
JExpr value) |
JVarDeclaration |
JFor.init(int mods,
java.lang.String type,
java.lang.String name,
JExpr value)
Add a loop initializer.
|
JExpr |
AbstractJExpr.le(JExpr e1) |
JExpr |
JExpr.le(JExpr e1)
Combine this expression with another using the binary
<= operator. |
JExpr |
AbstractJExpr.lshr(JExpr e1) |
JExpr |
JExpr.lshr(JExpr e1)
Combine this expression with another using the binary
>>> operator. |
JStatement |
BasicJBlock.lshrAssign(JAssignableExpr target,
JExpr e1) |
JStatement |
JBlock.lshrAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
>>>= ) expression at this point. |
JExpr |
AbstractJAssignableExpr.lshrAssign(JExpr e1) |
JExpr |
JAssignableExpr.lshrAssign(JExpr e1)
Combine this expression with another using the binary
>>>= operator. |
JExpr |
AbstractJExpr.lt(JExpr e1) |
JExpr |
JExpr.lt(JExpr e1)
Combine this expression with another using the binary
< operator. |
JExpr |
AbstractJExpr.minus(JExpr e1) |
JExpr |
JExpr.minus(JExpr e1)
Combine this expression with another using the binary
- operator. |
JExpr |
AbstractJExpr.mod(JExpr e1) |
JExpr |
JExpr.mod(JExpr e1)
Combine this expression with another using the binary
% operator. |
JStatement |
BasicJBlock.modAssign(JAssignableExpr target,
JExpr e1) |
JStatement |
JBlock.modAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
%= ) expression at this point. |
JExpr |
AbstractJAssignableExpr.modAssign(JExpr e1) |
JExpr |
JAssignableExpr.modAssign(JExpr e1)
Combine this expression with another using the binary
%= operator. |
JStatement |
BasicJBlock.mulAssign(JAssignableExpr target,
JExpr e1) |
JStatement |
JBlock.mulAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
*= ) expression at this point. |
JExpr |
AbstractJAssignableExpr.mulAssign(JExpr e1) |
JExpr |
JAssignableExpr.mulAssign(JExpr e1)
Combine this expression with another using the binary
*= operator. |
JExpr |
AbstractJExpr.ne(JExpr e1) |
JExpr |
JExpr.ne(JExpr e1)
Combine this expression with another using the binary
!= operator. |
(package private) static AbstractJExpr |
AbstractJExpr.of(JExpr expr) |
JExpr |
AbstractJExpr.or(JExpr e1) |
JExpr |
JExpr.or(JExpr e1)
Combine this expression with another using the binary
|| operator. |
JStatement |
BasicJBlock.orAssign(JAssignableExpr target,
JExpr e1) |
JStatement |
JBlock.orAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
|= ) expression at this point. |
JExpr |
AbstractJAssignableExpr.orAssign(JExpr e1) |
JExpr |
JAssignableExpr.orAssign(JExpr e1)
Combine this expression with another using the binary
|= operator. |
JExpr |
AbstractJExpr.plus(JExpr e1) |
JExpr |
JExpr.plus(JExpr e1)
Combine this expression with another using the binary
+ operator. |
JExpr |
AbstractJExpr.shl(JExpr e1) |
JExpr |
JExpr.shl(JExpr e1)
Combine this expression with another using the binary
<< operator. |
JStatement |
BasicJBlock.shlAssign(JAssignableExpr target,
JExpr e1) |
JStatement |
JBlock.shlAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
<<= ) expression at this point. |
JExpr |
AbstractJAssignableExpr.shlAssign(JExpr e1) |
JExpr |
JAssignableExpr.shlAssign(JExpr e1)
Combine this expression with another using the binary
<<= operator. |
JExpr |
AbstractJExpr.shr(JExpr e1) |
JExpr |
JExpr.shr(JExpr e1)
Combine this expression with another using the binary
>> operator. |
JStatement |
BasicJBlock.shrAssign(JAssignableExpr target,
JExpr e1) |
JStatement |
JBlock.shrAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
>>= ) expression at this point. |
JExpr |
AbstractJAssignableExpr.shrAssign(JExpr e1) |
JExpr |
JAssignableExpr.shrAssign(JExpr e1)
Combine this expression with another using the binary
>>= operator. |
JStatement |
BasicJBlock.subAssign(JAssignableExpr target,
JExpr e1) |
JStatement |
JBlock.subAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
-= ) expression at this point. |
JExpr |
AbstractJAssignableExpr.subAssign(JExpr e1) |
JExpr |
JAssignableExpr.subAssign(JExpr e1)
Combine this expression with another using the binary
-= operator. |
JExpr |
BasicJBlock.tempVar(java.lang.Class<?> type,
JExpr value) |
JExpr |
JBlock.tempVar(java.lang.Class<?> type,
JExpr value)
Insert a local variable declaration at this point with a generated name.
|
JExpr |
BasicJBlock.tempVar(JType type,
JExpr value) |
JExpr |
JBlock.tempVar(JType type,
JExpr value)
Insert a local variable declaration at this point with a generated name.
|
JExpr |
BasicJBlock.tempVar(java.lang.String type,
JExpr value) |
JExpr |
JBlock.tempVar(java.lang.String type,
JExpr value)
Insert a local variable declaration at this point with a generated name.
|
JFor |
ForJBlock.test(JExpr expr) |
JFor |
JFor.test(JExpr expr)
Add a test expression.
|
JExpr |
AbstractJExpr.times(JExpr e1) |
JExpr |
JExpr.times(JExpr e1)
Combine this expression with another using the binary
* operator. |
JFor |
ForJBlock.update(JExpr updateExpr) |
JFor |
JFor.update(JExpr updateExpr)
Add an update expression.
|
JAnnotation |
ImplJAnnotation.value(JExpr expr) |
JAnnotation |
JAnnotation.value(JExpr expr)
Set the "value" property of this annotation.
|
JAnnotation |
ImplJAnnotation.value(java.lang.String name,
JExpr expr) |
JAnnotation |
JAnnotation.value(java.lang.String name,
JExpr expr)
Set the named property of this annotation.
|
JVarDeclaration |
BasicJBlock.var(int mods,
java.lang.Class<?> type,
java.lang.String name,
JExpr value) |
JVarDeclaration |
JBlock.var(int mods,
java.lang.Class<?> type,
java.lang.String name,
JExpr value)
Insert a local variable declaration at this point.
|
JVarDeclaration |
BasicJBlock.var(int mods,
JType type,
java.lang.String name,
JExpr value) |
JVarDeclaration |
JBlock.var(int mods,
JType type,
java.lang.String name,
JExpr value)
Insert a local variable declaration at this point.
|
JVarDeclaration |
BasicJBlock.var(int mods,
java.lang.String type,
java.lang.String name,
JExpr value) |
JVarDeclaration |
JBlock.var(int mods,
java.lang.String type,
java.lang.String name,
JExpr value)
Insert a local variable declaration at this point.
|
JVarDeclaration |
ImplJCatch.with(int mods,
java.lang.Class<? extends java.lang.AutoCloseable> type,
java.lang.String var,
JExpr init) |
JVarDeclaration |
ImplJTry.with(int mods,
java.lang.Class<? extends java.lang.AutoCloseable> type,
java.lang.String var,
JExpr init) |
JVarDeclaration |
JTry.with(int mods,
java.lang.Class<? extends java.lang.AutoCloseable> type,
java.lang.String var,
JExpr init)
Add a resource for
try -with-resources constructs. |
JVarDeclaration |
ImplJCatch.with(int mods,
JType type,
java.lang.String var,
JExpr init) |
JVarDeclaration |
ImplJTry.with(int mods,
JType type,
java.lang.String var,
JExpr init) |
JVarDeclaration |
JTry.with(int mods,
JType type,
java.lang.String var,
JExpr init)
Add a resource for
try -with-resources constructs. |
JVarDeclaration |
ImplJCatch.with(int mods,
java.lang.String type,
java.lang.String var,
JExpr init) |
JVarDeclaration |
ImplJTry.with(int mods,
java.lang.String type,
java.lang.String var,
JExpr init) |
JVarDeclaration |
JTry.with(int mods,
java.lang.String type,
java.lang.String var,
JExpr init)
Add a resource for
try -with-resources constructs. |
(package private) void |
SourceFileWriter.write(JExpr expr) |
JStatement |
BasicJBlock.xorAssign(JAssignableExpr target,
JExpr e1) |
JStatement |
JBlock.xorAssign(JAssignableExpr target,
JExpr e1)
Insert an assignment (
^= ) expression at this point. |
JExpr |
AbstractJAssignableExpr.xorAssign(JExpr e1) |
JExpr |
JAssignableExpr.xorAssign(JExpr e1)
Combine this expression with another using the binary
^= operator. |
Constructor and Description |
---|
AssertMessageJStatement(JExpr expr,
JExpr message) |
CaseJBlock(ImplJSwitch _switch,
JExpr expr) |
ConditionJBlock(BasicJBlock parent,
JBlock.Braces braces,
JExpr cond) |
DoJBlock(BasicJBlock parent,
JExpr cond) |
FirstJVarDeclaration(int mods,
JType type,
java.lang.String name,
JExpr value) |
ForEachJBlock(BasicJBlock parent,
int mods,
JType type,
java.lang.String name,
JExpr iterable) |
ImplJIf(BasicJBlock parent,
JExpr cond) |
ImplJSwitch(BasicJBlock parent,
JExpr expr) |
InstanceJCall(JExpr target,
java.lang.String name) |
KeywordExprJStatement(Tokens.$KW keyword,
JExpr expr) |
PlainJArrayExpr(JExpr... members) |
SuccessorJVarDeclaration(FirstJVarDeclaration first,
java.lang.String name,
JExpr value) |
TryJVarDeclaration(int mods,
JType type,
java.lang.String name,
JExpr value,
ImplJTry owner) |
WhileJBlock(BasicJBlock parent,
JExpr cond) |