Package | Description |
---|---|
org.glassfish.pfl.dynamic.codegen.impl | |
org.glassfish.pfl.dynamic.codegen.spi |
Modifier and Type | Interface and Description |
---|---|
interface |
ExpressionInternal |
interface |
VariableInternal |
Modifier and Type | Method and Description |
---|---|
Expression |
BlockStatement.addDefinition(Type type,
String ident,
Expression value) |
Expression |
ExpressionFactory.arrayIndex(Expression expr,
Expression index) |
Expression |
ExpressionFactory.arrayLength(Expression expr) |
Expression |
ExpressionFactory.binaryOperator(Expression left,
ExpressionFactory.BinaryOperator op,
Expression right) |
Expression |
ExpressionFactory.call(Expression target,
String ident,
List<Expression> exprs)
Shorthand form to construct invocation that looks up Signature based
on the types of the expressions in exprs.
|
Expression |
ExpressionFactory.call(Expression target,
String ident,
Signature signature,
List<Expression> exprs)
Construct a representation of a non-static method invocation.
|
Expression |
ExpressionFactory.cast(Type type,
Expression expr) |
Expression |
WhileStatement.condition() |
Expression |
IfStatement.condition() |
Expression |
ExpressionFactory.IfExpression.condition() |
abstract Expression |
ExpressionFactory.BinaryOperator.create(ExpressionFactory ef,
Expression left,
Expression right) |
Expression |
ExpressionFactory.UnaryOperatorExpression.expr() |
Expression |
ExpressionFactory.CastExpression.expr() |
Expression |
ExpressionFactory.InstofExpression.expr() |
Expression |
ExpressionFactory.ArrayIndexExpression.expr() |
Expression |
ExpressionFactory.ArrayLengthExpression.expr() |
Expression |
DefinitionStatement.expr() |
Expression |
ExpressionFactory.IfExpression.falsePart() |
Expression |
ExpressionFactory.fieldAccess(Expression target,
String fieldName) |
Expression |
ExpressionFactory.fieldAccess(Type target,
String fieldName) |
Expression |
FieldGenerator.getExpression() |
Expression |
ExpressionFactory.ifExpression(Expression condition,
Expression truePart,
Expression falsePart) |
Expression |
ExpressionFactory.ArrayIndexExpression.index() |
Expression |
ExpressionFactory.instof(Expression expr,
Type type) |
Expression |
ExpressionFactory.BinaryOperatorExpression.left() |
Expression |
ExpressionFactory.newArr(Type type,
Expression size) |
Expression |
ExpressionFactory.newArrInit(Type type,
List<Expression> exprs) |
Expression |
ExpressionFactory.newObj(Type type,
List<Expression> exprs) |
Expression |
ExpressionFactory.newObj(Type type,
Signature signature,
List<Expression> args) |
Expression |
ExpressionFactory.BinaryOperatorExpression.right() |
Expression |
ExpressionFactory.NewArrExpression.size() |
Expression |
ExpressionFactory.staticCall(Type target,
String ident,
List<Expression> exprs)
Shorthand form to construct invocation that looks up Signature based
on the types of the expressions in exprs.
|
Expression |
ExpressionFactory.staticCall(Type target,
String ident,
Signature signature,
List<Expression> exprs)
Construct a representation of a static method invocation.
|
Expression |
ExpressionFactory.superCall(String ident,
List<Expression> exprs) |
Expression |
ExpressionFactory.superCall(String ident,
Signature signature,
List<Expression> exprs) |
Expression |
ExpressionFactory.superObj(List<Expression> exprs)
Call to superclass constructor.
|
Expression |
ExpressionFactory.superObj(Signature signature,
List<Expression> exprs)
Call to superclass constructor.
|
Expression |
ExpressionFactory.thisObj(List<Expression> exprs)
Call to another constructor.
|
Expression |
ExpressionFactory.thisObj(Signature signature,
List<Expression> exprs)
Call to another constructor.
|
Expression |
ExpressionFactory.IfExpression.truePart() |
Expression |
ExpressionFactory.unaryOp(ExpressionFactory.UnaryOperator op,
Expression expr) |
Modifier and Type | Method and Description |
---|---|
List<Expression> |
ExpressionFactory.CallExpression.args() |
List<Expression> |
ExpressionFactory.NewObjExpression.args() |
List<Expression> |
ExpressionFactory.NewArrExpression.exprs() |
List<Expression> |
ExpressionFactory.SuperCallExpression.exprs() |
List<Expression> |
ExpressionFactory.SuperObjExpression.exprs() |
List<Expression> |
ExpressionFactory.ThisObjExpression.exprs() |
IdentityHashMap<Expression,Boolean> |
ExpressionFactory.unusedExpressions() |
Modifier and Type | Method and Description |
---|---|
void |
BlockStatement.addAssign(Expression left,
Expression right) |
Expression |
BlockStatement.addDefinition(Type type,
String ident,
Expression value) |
void |
BlockStatement.addExpression(Expression expr) |
IfStatement |
BlockStatement.addIf(Expression cond) |
void |
BlockStatement.addReturn(Expression expr)
Add a return with an expression to this BlockStatement.
|
SwitchStatement |
BlockStatement.addSwitch(Expression value) |
void |
BlockStatement.addThrow(Expression expr) |
WhileStatement |
BlockStatement.addWhile(Expression expr) |
Expression |
ExpressionFactory.arrayIndex(Expression expr,
Expression index) |
Expression |
ExpressionFactory.arrayLength(Expression expr) |
Expression |
ExpressionFactory.binaryOperator(Expression left,
ExpressionFactory.BinaryOperator op,
Expression right) |
Expression |
ExpressionFactory.call(Expression target,
String ident,
List<Expression> exprs)
Shorthand form to construct invocation that looks up Signature based
on the types of the expressions in exprs.
|
Expression |
ExpressionFactory.call(Expression target,
String ident,
Signature signature,
List<Expression> exprs)
Construct a representation of a non-static method invocation.
|
Expression |
ExpressionFactory.cast(Type type,
Expression expr) |
abstract void |
ExpressionFactory.UnaryOperator.checkType(Expression arg) |
abstract Expression |
ExpressionFactory.BinaryOperator.create(ExpressionFactory ef,
Expression left,
Expression right) |
Expression |
ExpressionFactory.fieldAccess(Expression target,
String fieldName) |
Expression |
ExpressionFactory.ifExpression(Expression condition,
Expression truePart,
Expression falsePart) |
Expression |
ExpressionFactory.instof(Expression expr,
Type type) |
Expression |
ExpressionFactory.newArr(Type type,
Expression size) |
Expression |
ExpressionFactory.unaryOp(ExpressionFactory.UnaryOperator op,
Expression expr) |
Modifier and Type | Method and Description |
---|---|
Expression |
ExpressionFactory.call(Expression target,
String ident,
List<Expression> exprs)
Shorthand form to construct invocation that looks up Signature based
on the types of the expressions in exprs.
|
Expression |
ExpressionFactory.call(Expression target,
String ident,
Signature signature,
List<Expression> exprs)
Construct a representation of a non-static method invocation.
|
Expression |
ExpressionFactory.newArrInit(Type type,
List<Expression> exprs) |
Expression |
ExpressionFactory.newObj(Type type,
List<Expression> exprs) |
Expression |
ExpressionFactory.newObj(Type type,
Signature signature,
List<Expression> args) |
Expression |
ExpressionFactory.staticCall(Type target,
String ident,
List<Expression> exprs)
Shorthand form to construct invocation that looks up Signature based
on the types of the expressions in exprs.
|
Expression |
ExpressionFactory.staticCall(Type target,
String ident,
Signature signature,
List<Expression> exprs)
Construct a representation of a static method invocation.
|
Expression |
ExpressionFactory.superCall(String ident,
List<Expression> exprs) |
Expression |
ExpressionFactory.superCall(String ident,
Signature signature,
List<Expression> exprs) |
Expression |
ExpressionFactory.superObj(List<Expression> exprs)
Call to superclass constructor.
|
Expression |
ExpressionFactory.superObj(Signature signature,
List<Expression> exprs)
Call to superclass constructor.
|
Expression |
ExpressionFactory.thisObj(List<Expression> exprs)
Call to another constructor.
|
Expression |
ExpressionFactory.thisObj(Signature signature,
List<Expression> exprs)
Call to another constructor.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Variable |
Modifier and Type | Method and Description |
---|---|
static Expression |
Wrapper._add(Expression left,
Expression right)
Create an expression representing the application of the
+ operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._and(Expression left,
Expression right)
Create an expression representing the application of the
&& operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._arg(Type type,
String name)
Add an argument to the current method.
|
static Expression |
Wrapper._call(Expression target,
String ident,
Expression... args)
Generate a call to an instance method, using the Java method
overload resolution algorithm to determine the signature.
|
static Expression |
Wrapper._call(Expression target,
String ident,
List<Expression> args)
Generate a call to an instance method, using the Java method
overload resolution algorithm to determine the signature.
|
static Expression |
Wrapper._call(Expression target,
String ident,
Signature signature,
Expression... args)
Generate a call to an instance method.
|
static Expression |
Wrapper._call(Expression target,
String ident,
Signature signature,
List<Expression> args)
Generate a call to an instance method.
|
static Expression |
Wrapper._call(Type target,
String ident,
Expression... args)
Generate a call to a static method, using the Java method
overload resolution algorithm to determine the signature.
|
static Expression |
Wrapper._call(Type target,
String ident,
List<Expression> args)
Generate a call to a static method, using the Java method
overload resolution algorithm to determine the signature.
|
static Expression |
Wrapper._call(Type target,
String ident,
Signature signature,
Expression... args)
Generate a call to a static method.
|
static Expression |
Wrapper._call(Type target,
String ident,
Signature signature,
List<Expression> args)
Generate a call to a static method.
|
static Expression |
Wrapper._cast(Type type,
Expression expr)
Create an expression representing the type cast of expr
to type.
|
static Expression |
Wrapper._catch(Type type,
String name)
Indicate the start of a catch clause in a try statement.
|
static Expression |
Wrapper._const(boolean c)
Return a constant expression representing the
value c.
|
static Expression |
Wrapper._const(byte c)
Return a constant expression representing the
value c.
|
static Expression |
Wrapper._const(char c)
Return a constant expression representing the
value c.
|
static Expression |
Wrapper._const(double c)
Return a constant expression representing the
value c.
|
static Expression |
Wrapper._const(float c)
Return a constant expression representing the
value c.
|
static Expression |
Wrapper._const(int c)
Return a constant expression representing the
value c.
|
static Expression |
Wrapper._const(long c)
Return a constant expression representing the
value c.
|
static Expression |
Wrapper._const(short c)
Return a constant expression representing the
value c.
|
static Expression |
Wrapper._const(String c)
Return a constant expression representing the
value c.
|
static Expression |
Wrapper._const(Type c)
Return a constant expression representing the
value c.
|
static Expression |
Wrapper._data(int modifiers,
Type type,
String name)
Define a data member in a class.
|
static Expression |
Wrapper._define(Type type,
String name,
Expression expr)
Indicates the introduction of a new local variable initialized to
the given expression.
|
static Expression |
Wrapper._div(Expression left,
Expression right)
Create an expression representing the application of the
+ operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._eq(Expression left,
Expression right)
Create an expression representing the application of the
== operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._field(Expression expr,
String fieldName)
Return an expression used to access a field in an object
given by expr.
|
static Expression |
Wrapper._field(Type type,
String fieldName)
Return an expression used to access a static data member in
a class given by the type.
|
static Expression |
Wrapper._ge(Expression left,
Expression right)
Create an expression representing the application of the
>= operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._gt(Expression left,
Expression right)
Create an expression representing the application of the
> operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._index(Expression expr,
Expression index)
Return an expression used to access an element in an array
given by expr.
|
static Expression |
Wrapper._instanceof(Expression expr,
Type type)
Create an expression representing the instanceof test of
expr and type (expr instanceof type).
|
static Expression |
Wrapper._le(Expression left,
Expression right)
Create an expression representing the application of the
<= operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._length(Expression expr)
Return an expression that gets the length of expr.
|
static Expression |
Wrapper._lt(Expression left,
Expression right)
Create an expression representing the application of the
< operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._mul(Expression left,
Expression right)
Create an expression representing the application of the
+ operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._ne(Expression left,
Expression right)
Create an expression representing the application of the
!= operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._new_array_init(Type type,
Expression... args)
Create an expression representing the construction of a
new array with the given component type using the given
expressions to initialize the array.
|
static Expression |
Wrapper._new_array_init(Type type,
List<Expression> args)
Create an expression representing the construction of a
new array with the given component type using the given
expressions to initialize the array.
|
static Expression |
Wrapper._new_array(Type type,
Expression size)
Create an expression representing the construction of a
new array of the given size with the given component type.
|
static Expression |
Wrapper._new(Type type,
Expression... args)
Create an expression representing the construction of a
new instance of the given type using the constructor with the
signature determined by the Java method overload resolution
algorithm and the list of expressions as arguments.
|
static Expression |
Wrapper._new(Type type,
List<Expression> args)
Create an expression representing the construction of a
new instance of the given type using the constructor with the
signature determined by the Java method overload resolution
algorithm and the list of expressions as arguments.
|
static Expression |
Wrapper._new(Type type,
Signature signature,
Expression... args)
Create an expression representing the construction of a
new instance of the given type using the constructor with the
given signature and the list of expressions as arguments.
|
static Expression |
Wrapper._new(Type type,
Signature signature,
List<Expression> args)
Create an expression representing the construction of a
new instance of the given type using the constructor with the
given signature and the list of expressions as arguments.
|
static Expression |
Wrapper._not(Expression expr) |
static Expression |
Wrapper._null()
Return the null expression.
|
static Expression |
Wrapper._or(Expression left,
Expression right)
Create an expression representing the application of the
|| operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._rem(Expression left,
Expression right)
Create an expression representing the application of the
+ operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._sub(Expression left,
Expression right)
Create an expression representing the application of the
+ operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._super(Expression... exprs)
Invoke a superclass constructor as the first statement
in a constructor for a class using the Java method overload
resolution algorithm to determine the signature.
|
static Expression |
Wrapper._super(List<Expression> exprs)
Invoke a superclass constructor as the first statement
in a constructor for a class using the Java method overload
resolution algorithm to determine the signature.
|
static Expression |
Wrapper._super(Signature signature,
Expression... exprs)
Invoke a superclass constructor as the first statement
in a constructor for a class.
|
static Expression |
Wrapper._super(Signature signature,
List<Expression> exprs)
Invoke a superclass constructor as the first statement
in a constructor for a class.
|
static Expression |
Wrapper._super(String ident,
Expression... exprs)
Generate a call to an instance method in the current super
class using the Java method overload resolution algorithm to
determine the signature.
|
static Expression |
Wrapper._super(String ident,
List<Expression> exprs)
Generate a call to an instance method in the current super
class using the Java method overload resolution algorithm to
determine the signature.
|
static Expression |
Wrapper._super(String ident,
Signature signature,
Expression... exprs)
Generate a call to an instance method in the current super
class.
|
static Expression |
Wrapper._super(String ident,
Signature signature,
List<Expression> exprs)
Generate a call to an instance method in the current super
class.
|
static Expression |
Wrapper._this()
Return an expression representing "this".
|
static Expression |
Wrapper._this(Expression... exprs)
Invoke another constructor as the first statement
in a constructor for a class using the Java method overload
resolution algorithm to determine the signature.
|
static Expression |
Wrapper._this(List<Expression> exprs)
Invoke another constructor as the first statement
in a constructor for a class using the Java method overload
resolution algorithm to determine the signature.
|
static Expression |
Wrapper._this(Signature signature,
Expression... exprs)
Invoke another constructor as the first statement
in a constructor for a class.
|
static Expression |
Wrapper._this(Signature signature,
List<Expression> exprs)
Invoke another constructor as the first statement
in a constructor for a class.
|
static Expression |
Wrapper._v(String name)
Construct the expression that refers to
the variable named name.
|
static Expression |
Primitives.unwrap(Expression expr) |
static Expression |
Primitives.wrap(Expression expr) |
Modifier and Type | Method and Description |
---|---|
static Expression |
Wrapper._add(Expression left,
Expression right)
Create an expression representing the application of the
+ operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._and(Expression left,
Expression right)
Create an expression representing the application of the
&& operator to the left and right expressions in the
form (left op right).
|
static void |
Wrapper._assign(Expression var,
Expression expr)
Indicates an assignment statement of the form var = expr.
|
static Expression |
Wrapper._call(Expression target,
String ident,
Expression... args)
Generate a call to an instance method, using the Java method
overload resolution algorithm to determine the signature.
|
static Expression |
Wrapper._call(Expression target,
String ident,
Expression... args)
Generate a call to an instance method, using the Java method
overload resolution algorithm to determine the signature.
|
static Expression |
Wrapper._call(Expression target,
String ident,
List<Expression> args)
Generate a call to an instance method, using the Java method
overload resolution algorithm to determine the signature.
|
static Expression |
Wrapper._call(Expression target,
String ident,
Signature signature,
Expression... args)
Generate a call to an instance method.
|
static Expression |
Wrapper._call(Expression target,
String ident,
Signature signature,
Expression... args)
Generate a call to an instance method.
|
static Expression |
Wrapper._call(Expression target,
String ident,
Signature signature,
List<Expression> args)
Generate a call to an instance method.
|
static Expression |
Wrapper._call(Type target,
String ident,
Expression... args)
Generate a call to a static method, using the Java method
overload resolution algorithm to determine the signature.
|
static Expression |
Wrapper._call(Type target,
String ident,
Signature signature,
Expression... args)
Generate a call to a static method.
|
static Expression |
Wrapper._cast(Type type,
Expression expr)
Create an expression representing the type cast of expr
to type.
|
static Expression |
Wrapper._define(Type type,
String name,
Expression expr)
Indicates the introduction of a new local variable initialized to
the given expression.
|
static Expression |
Wrapper._div(Expression left,
Expression right)
Create an expression representing the application of the
+ operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._eq(Expression left,
Expression right)
Create an expression representing the application of the
== operator to the left and right expressions in the
form (left op right).
|
static void |
Wrapper._expr(Expression expr)
Indicate that expr should be executed as a statement for its
side effects.
|
static Expression |
Wrapper._field(Expression expr,
String fieldName)
Return an expression used to access a field in an object
given by expr.
|
static Expression |
Wrapper._ge(Expression left,
Expression right)
Create an expression representing the application of the
>= operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._gt(Expression left,
Expression right)
Create an expression representing the application of the
> operator to the left and right expressions in the
form (left op right).
|
static void |
Wrapper._if(Expression expr)
Indicate the start of an if statement with the given expression
as the condition.
|
static Expression |
Wrapper._index(Expression expr,
Expression index)
Return an expression used to access an element in an array
given by expr.
|
static Expression |
Wrapper._instanceof(Expression expr,
Type type)
Create an expression representing the instanceof test of
expr and type (expr instanceof type).
|
static Expression |
Wrapper._le(Expression left,
Expression right)
Create an expression representing the application of the
<= operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._length(Expression expr)
Return an expression that gets the length of expr.
|
static Expression |
Wrapper._lt(Expression left,
Expression right)
Create an expression representing the application of the
< operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._mul(Expression left,
Expression right)
Create an expression representing the application of the
+ operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._ne(Expression left,
Expression right)
Create an expression representing the application of the
!= operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._new_array_init(Type type,
Expression... args)
Create an expression representing the construction of a
new array with the given component type using the given
expressions to initialize the array.
|
static Expression |
Wrapper._new_array(Type type,
Expression size)
Create an expression representing the construction of a
new array of the given size with the given component type.
|
static Expression |
Wrapper._new(Type type,
Expression... args)
Create an expression representing the construction of a
new instance of the given type using the constructor with the
signature determined by the Java method overload resolution
algorithm and the list of expressions as arguments.
|
static Expression |
Wrapper._new(Type type,
Signature signature,
Expression... args)
Create an expression representing the construction of a
new instance of the given type using the constructor with the
given signature and the list of expressions as arguments.
|
static Expression |
Wrapper._not(Expression expr) |
static Expression |
Wrapper._or(Expression left,
Expression right)
Create an expression representing the application of the
|| operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._rem(Expression left,
Expression right)
Create an expression representing the application of the
+ operator to the left and right expressions in the
form (left op right).
|
static void |
Wrapper._return(Expression expr)
Indicates the end of execution in a method with a return of the
value of the expression.
|
static Expression |
Wrapper._sub(Expression left,
Expression right)
Create an expression representing the application of the
+ operator to the left and right expressions in the
form (left op right).
|
static Expression |
Wrapper._super(Expression... exprs)
Invoke a superclass constructor as the first statement
in a constructor for a class using the Java method overload
resolution algorithm to determine the signature.
|
static Expression |
Wrapper._super(Signature signature,
Expression... exprs)
Invoke a superclass constructor as the first statement
in a constructor for a class.
|
static Expression |
Wrapper._super(String ident,
Expression... exprs)
Generate a call to an instance method in the current super
class using the Java method overload resolution algorithm to
determine the signature.
|
static Expression |
Wrapper._super(String ident,
Signature signature,
Expression... exprs)
Generate a call to an instance method in the current super
class.
|
static void |
Wrapper._switch(Expression expr)
Indicate the start of a switch statement with the given
expression at the switch expression.
|
static Expression |
Wrapper._this(Expression... exprs)
Invoke another constructor as the first statement
in a constructor for a class using the Java method overload
resolution algorithm to determine the signature.
|
static Expression |
Wrapper._this(Signature signature,
Expression... exprs)
Invoke another constructor as the first statement
in a constructor for a class.
|
static void |
Wrapper._throw(Expression expr)
Indicates a throw statement that throws the given expression.
|
static void |
Wrapper._while(Expression expr)
Indicate the start of a while loop with the given
expression as its condition.
|
static Expression |
Primitives.unwrap(Expression expr) |
static Expression |
Primitives.wrap(Expression expr) |
Modifier and Type | Method and Description |
---|---|
static Expression |
Wrapper._call(Expression target,
String ident,
List<Expression> args)
Generate a call to an instance method, using the Java method
overload resolution algorithm to determine the signature.
|
static Expression |
Wrapper._call(Expression target,
String ident,
Signature signature,
List<Expression> args)
Generate a call to an instance method.
|
static Expression |
Wrapper._call(Type target,
String ident,
List<Expression> args)
Generate a call to a static method, using the Java method
overload resolution algorithm to determine the signature.
|
static Expression |
Wrapper._call(Type target,
String ident,
Signature signature,
List<Expression> args)
Generate a call to a static method.
|
static Expression |
Wrapper._new_array_init(Type type,
List<Expression> args)
Create an expression representing the construction of a
new array with the given component type using the given
expressions to initialize the array.
|
static Expression |
Wrapper._new(Type type,
List<Expression> args)
Create an expression representing the construction of a
new instance of the given type using the constructor with the
signature determined by the Java method overload resolution
algorithm and the list of expressions as arguments.
|
static Expression |
Wrapper._new(Type type,
Signature signature,
List<Expression> args)
Create an expression representing the construction of a
new instance of the given type using the constructor with the
given signature and the list of expressions as arguments.
|
static Expression |
Wrapper._super(List<Expression> exprs)
Invoke a superclass constructor as the first statement
in a constructor for a class using the Java method overload
resolution algorithm to determine the signature.
|
static Expression |
Wrapper._super(Signature signature,
List<Expression> exprs)
Invoke a superclass constructor as the first statement
in a constructor for a class.
|
static Expression |
Wrapper._super(String ident,
List<Expression> exprs)
Generate a call to an instance method in the current super
class using the Java method overload resolution algorithm to
determine the signature.
|
static Expression |
Wrapper._super(String ident,
Signature signature,
List<Expression> exprs)
Generate a call to an instance method in the current super
class.
|
static Expression |
Wrapper._this(List<Expression> exprs)
Invoke another constructor as the first statement
in a constructor for a class using the Java method overload
resolution algorithm to determine the signature.
|
static Expression |
Wrapper._this(Signature signature,
List<Expression> exprs)
Invoke another constructor as the first statement
in a constructor for a class.
|
void |
Signature.checkCompatibility(Type targetType,
String ident,
List<Expression> args)
Check whether the list of expression in args is statically
compatible with this Signature.
|
void |
Signature.checkConstructorCompatibility(Type targetType,
List<Expression> args)
Check whether the list of expression in args is statically
compatible with this Signature.
|
void |
Signature.checkStaticCompatibility(Type targetType,
String ident,
List<Expression> args)
Check whether the list of expression in args is statically
compatible with this Signature.
|
static Signature |
Signature.fromCall(Type type,
String ident,
List<Expression> exprs) |
static Signature |
Signature.fromConstructor(Type type,
List<Expression> exprs) |
static Signature |
Signature.fromStaticCall(Type type,
String ident,
List<Expression> exprs) |
Copyright © 2017 Oracle. All rights reserved.