Modifier and Type | Interface and Description |
---|---|
interface |
JAnonymousClassDef
An anonymous class definition.
|
Modifier and Type | Method and Description |
---|---|
JCall |
JType._new()
Construct a new instance of this non-array type.
|
JCall |
JBlock._new(Class<?> type)
Insert an object construction statement at this point.
|
JCall |
JExpr._new(Class<?> type)
Get an expression to construct a new inner class instance of this instance expression.
|
JCall |
JBlock._new(JType type)
Insert an object construction statement at this point.
|
JCall |
JExpr._new(JType type)
Get an expression to construct a new inner class instance of this instance expression.
|
JCall |
JBlock._new(String type)
Insert an object construction statement at this point.
|
JCall |
JExpr._new(String type)
Get an expression to construct a new inner class instance of this instance expression.
|
JCall |
JCall.arg(JExpr expr)
Add an actual parameter argument to this call.
|
JCall |
JBlock.call(ExecutableElement element)
Insert a method invocation at this point.
|
static JCall |
JExprs.call(ExecutableElement element)
Generate a method call expression to the given element.
|
JCall |
JType.call(ExecutableElement method)
Call a static method on this type.
|
JCall |
JBlock.call(JExpr obj,
ExecutableElement element)
Insert a method invocation at this point.
|
JCall |
JBlock.call(JExpr obj,
String name)
Insert a method invocation at this point.
|
JCall |
JBlock.call(String name)
Insert a method invocation at this point.
|
JCall |
JExpr.call(String name)
Call the given method on this expression.
|
static JCall |
JExprs.call(String name)
Generate a method call expression to the given method name.
|
JCall |
JType.call(String name)
Call a static method on this type.
|
JCall |
JBlock.callStatic(Class<?> type,
String name)
Insert a type-qualified static method invocation at this point.
|
static JCall |
JExprs.callStatic(Class<?> type,
String name)
Generate a method call expression to a method on the given static type.
|
JCall |
JBlock.callStatic(ExecutableElement element)
Insert a type-qualified static method invocation at this point.
|
JCall |
JBlock.callStatic(JType type,
String name)
Insert a type-qualified static method invocation at this point.
|
static JCall |
JExprs.callStatic(JType type,
String name)
Generate a method call expression to a method on the given static type.
|
JCall |
JBlock.callStatic(String type,
String name)
Insert a type-qualified static method invocation at this point.
|
static JCall |
JExprs.callStatic(String type,
String name)
Generate a method call expression to a method on the given static type.
|
JCall |
JBlock.callSuper()
Insert a
super() call at this point. |
JCall |
JBlock.callThis()
Insert a
this() call at this point. |
JCall |
JCall.diamond()
Use the "diamond"
<> syntax to specify inferred type arguments. |
JCall |
JCall.typeArg(Class<?> type)
Add a type argument to this call.
|
JCall |
JCall.typeArg(JType type)
Add a type argument to this call.
|
JCall |
JCall.typeArg(String type)
Add a type argument to this call.
|
Copyright © 2016. All rights reserved.