Package | Description |
---|---|
com.asakusafw.utils.java.model.util |
Utilities for Java DOM building/emitting.
|
Modifier and Type | Method and Description |
---|---|
ExpressionBuilder |
ExpressionBuilder.apply(InfixOperator operator,
Expression right)
Returns a binary expression which contains the building expression on the left term.
|
ExpressionBuilder |
ExpressionBuilder.apply(PostfixOperator operator)
Returns a postfix expression.
|
ExpressionBuilder |
ExpressionBuilder.apply(UnaryOperator operator)
Returns a unary expression.
|
ExpressionBuilder |
ExpressionBuilder.array(Expression index)
Returns an array access expression which contains the building expression as the target array.
|
ExpressionBuilder |
ExpressionBuilder.array(int index)
Returns an array access expression which contains the building expression as the target array.
|
ExpressionBuilder |
ExpressionBuilder.array(String index)
Returns an array access expression which contains the building expression as the target array.
|
ExpressionBuilder |
ExpressionBuilder.assignFrom(Expression rightHandSide)
Returns an assignment expression which contains the building expression on the left hand side.
|
ExpressionBuilder |
ExpressionBuilder.assignFrom(InfixOperator operator,
Expression rightHandSide)
Returns an assignment expression which contains the building expression on the left hand side.
|
ExpressionBuilder |
ExpressionBuilder.castTo(Type type)
Returns a cast expression.
|
ExpressionBuilder |
ExpressionBuilder.castTo(Type type)
Returns a cast expression.
|
ExpressionBuilder |
TypeBuilder.constructorReference()
Returns the constructor invocation using the building type as its qualifier.
|
ExpressionBuilder |
TypeBuilder.constructorReference(List<? extends Type> typeArguments)
Returns the constructor invocation using the building type as its qualifier.
|
ExpressionBuilder |
ExpressionBuilder.copy()
Returns a copy of this builder.
|
ExpressionBuilder |
TypeBuilder.dotClass()
Returns a class literal.
|
ExpressionBuilder |
TypeBuilder.dotThis()
Returns a qualified this.
|
ExpressionBuilder |
ExpressionBuilder.field(SimpleName name)
Returns a field access expression which take the building expression as its owner object.
|
ExpressionBuilder |
TypeBuilder.field(SimpleName name)
Returns the field access expression.
|
ExpressionBuilder |
ExpressionBuilder.field(String name)
Returns a field access expression which take the building expression as its owner object.
|
ExpressionBuilder |
TypeBuilder.field(String name)
Returns the field access expression.
|
ExpressionBuilder |
ExpressionBuilder.instanceOf(Type type)
Returns an
instanceof expression. |
ExpressionBuilder |
ExpressionBuilder.instanceOf(Type type)
Returns an
instanceof expression. |
ExpressionBuilder |
ExpressionBuilder.method(List<? extends Type> typeArguments,
SimpleName name,
Expression... arguments)
Returns the method invocation which take the building expression as its receiver object.
|
ExpressionBuilder |
TypeBuilder.method(List<? extends Type> typeArguments,
SimpleName name,
Expression... arguments)
Returns the method invocation using the building type as its qualifier.
|
ExpressionBuilder |
ExpressionBuilder.method(List<? extends Type> typeArguments,
SimpleName name,
List<? extends Expression> arguments)
Returns the method invocation which take the building expression as its receiver object.
|
ExpressionBuilder |
TypeBuilder.method(List<? extends Type> typeArguments,
SimpleName name,
List<? extends Expression> arguments)
Returns the method invocation using the building type as its qualifier.
|
ExpressionBuilder |
ExpressionBuilder.method(List<? extends Type> typeArguments,
String name,
Expression... arguments)
Returns the method invocation which take the building expression as its receiver object.
|
ExpressionBuilder |
TypeBuilder.method(List<? extends Type> typeArguments,
String name,
Expression... arguments)
Returns the method invocation using the building type as its qualifier.
|
ExpressionBuilder |
ExpressionBuilder.method(List<? extends Type> typeArguments,
String name,
List<? extends Expression> arguments)
Returns the method invocation which take the building expression as its receiver object.
|
ExpressionBuilder |
TypeBuilder.method(List<? extends Type> typeArguments,
String name,
List<? extends Expression> arguments)
Returns the method invocation using the building type as its qualifier.
|
ExpressionBuilder |
ExpressionBuilder.method(SimpleName name,
Expression... arguments)
Returns the method invocation which take the building expression as its receiver object.
|
ExpressionBuilder |
TypeBuilder.method(SimpleName name,
Expression... arguments)
Returns the method invocation using the building type as its qualifier.
|
ExpressionBuilder |
ExpressionBuilder.method(SimpleName name,
List<? extends Expression> arguments)
Returns the method invocation which take the building expression as its receiver object.
|
ExpressionBuilder |
TypeBuilder.method(SimpleName name,
List<? extends Expression> arguments)
Returns the method invocation using the building type as its qualifier.
|
ExpressionBuilder |
ExpressionBuilder.method(String name,
Expression... arguments)
Returns the method invocation which take the building expression as its receiver object.
|
ExpressionBuilder |
TypeBuilder.method(String name,
Expression... arguments)
Returns the method invocation using the building type as its qualifier.
|
ExpressionBuilder |
ExpressionBuilder.method(String name,
List<? extends Expression> arguments)
Returns the method invocation which take the building expression as its receiver object.
|
ExpressionBuilder |
TypeBuilder.method(String name,
List<? extends Expression> arguments)
Returns the method invocation using the building type as its qualifier.
|
ExpressionBuilder |
ExpressionBuilder.methodReference(List<? extends Type> typeArguments,
SimpleName name)
Returns the method invocation using the building expression as its qualifier.
|
ExpressionBuilder |
TypeBuilder.methodReference(List<? extends Type> typeArguments,
SimpleName name)
Returns the method invocation using the building type as its qualifier.
|
ExpressionBuilder |
ExpressionBuilder.methodReference(List<? extends Type> typeArguments,
String name)
Returns the method invocation using the building expression as its qualifier.
|
ExpressionBuilder |
TypeBuilder.methodReference(List<? extends Type> typeArguments,
String name)
Returns the method invocation using the building type as its qualifier.
|
ExpressionBuilder |
ExpressionBuilder.methodReference(SimpleName name)
Returns the method reference using the building expression as its qualifier.
|
ExpressionBuilder |
TypeBuilder.methodReference(SimpleName name)
Returns the method reference using the building type as its qualifier.
|
ExpressionBuilder |
ExpressionBuilder.methodReference(String name)
Returns the method reference using the building expression as its qualifier.
|
ExpressionBuilder |
TypeBuilder.methodReference(String name)
Returns the method reference using the building type as its qualifier.
|
ExpressionBuilder |
TypeBuilder.newArray(ArrayInitializer initializer)
Returns the array instance creation expression.
|
ExpressionBuilder |
TypeBuilder.newArray(Expression... dimensions)
Returns the array instance creation expression.
|
ExpressionBuilder |
TypeBuilder.newArray(int... dimensions)
Returns the array instance creation expression.
|
ExpressionBuilder |
TypeBuilder.newArray(List<? extends Expression> dimensions)
Returns the array instance creation expression.
|
ExpressionBuilder |
TypeBuilder.newObject(Expression... arguments)
Returns the class instance creation expression.
|
ExpressionBuilder |
TypeBuilder.newObject(List<? extends Expression> arguments)
Returns the class instance creation expression.
|
ExpressionBuilder |
TypeBuilder.newObject(List<? extends Expression> arguments,
ClassBody anonymousClassBlock)
Returns the class instance creation expression.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.