Package | Description |
---|---|
com.asakusafw.dmdl.directio.text |
Formatted text support for Direct I/O.
|
com.asakusafw.dmdl.java.emitter |
Java source code emitters.
|
com.asakusafw.operator.util |
Common utilities for Asakusa Operator DSL compiler.
|
com.asakusafw.utils.java.internal.model.syntax |
Naive Java DOM implementations.
|
com.asakusafw.utils.java.internal.model.util |
Internal utlities for Java DOM building/emitting.
|
com.asakusafw.utils.java.model.syntax |
Interfaces for representing Java DOMs.
|
com.asakusafw.utils.java.model.util |
Utilities for Java DOM building/emitting.
|
Modifier and Type | Method and Description |
---|---|
protected Expression |
AbstractTextStreamFormatGenerator.resolve(boolean value)
Resolves a value.
|
protected Expression |
AbstractTextStreamFormatGenerator.resolve(char value)
Resolves a value.
|
protected Expression |
AbstractTextStreamFormatGenerator.resolve(Enum<?> value)
Resolves a value.
|
protected Expression |
AbstractTextStreamFormatGenerator.resolve(String value)
Resolves a value.
|
Modifier and Type | Method and Description |
---|---|
Expression |
EmitContext.getFieldInitializer(PropertyDeclaration property)
Returns the corresponded property initializer.
|
Modifier and Type | Method and Description |
---|---|
static Expression |
DescriptionHelper.resolveConstant(ImportBuilder importer,
ValueDescription constant)
Returns the resolved constant value.
|
static Expression |
DescriptionHelper.resolveValue(ImportBuilder importer,
ValueDescription value)
Returns the resolved value.
|
Modifier and Type | Method and Description |
---|---|
static List<Expression> |
ElementHelper.toArguments(CompileEnvironment environment,
OperatorElement element,
ImportBuilder imports)
Creates arguments about operator element.
|
Modifier and Type | Method and Description |
---|---|
static List<Statement> |
ElementHelper.toNodeConstructorStatements(CompileEnvironment environment,
OperatorElement element,
Expression builderExpression,
ImportBuilder imports)
Creates operator node constructor statements.
|
Modifier and Type | Method and Description |
---|---|
Expression |
ArrayAccessExpressionImpl.getArray() |
Expression |
IfStatementImpl.getCondition() |
Expression |
ForStatementImpl.getCondition() |
Expression |
DoStatementImpl.getCondition() |
Expression |
WhileStatementImpl.getCondition() |
Expression |
ConditionalExpressionImpl.getCondition() |
Expression |
AnnotationElementDeclarationImpl.getDefaultExpression() |
Expression |
ConditionalExpressionImpl.getElseExpression() |
Expression |
CastExpressionImpl.getExpression() |
Expression |
AssertStatementImpl.getExpression() |
Expression |
SwitchStatementImpl.getExpression() |
Expression |
ThrowStatementImpl.getExpression() |
Expression |
ExpressionStatementImpl.getExpression() |
Expression |
InstanceofExpressionImpl.getExpression() |
Expression |
AnnotationElementImpl.getExpression() |
Expression |
SingleElementAnnotationImpl.getExpression() |
Expression |
ReturnStatementImpl.getExpression() |
Expression |
SynchronizedStatementImpl.getExpression() |
Expression |
SwitchCaseLabelImpl.getExpression() |
Expression |
EnhancedForStatementImpl.getExpression() |
Expression |
ParenthesizedExpressionImpl.getExpression() |
Expression |
ArrayAccessExpressionImpl.getIndex() |
Expression |
TryResourceImpl.getInitializer() |
Expression |
VariableDeclaratorImpl.getInitializer() |
Expression |
AssignmentExpressionImpl.getLeftHandSide() |
Expression |
InfixExpressionImpl.getLeftOperand() |
Expression |
AssertStatementImpl.getMessage() |
Expression |
UnaryExpressionImpl.getOperand() |
Expression |
PostfixExpressionImpl.getOperand() |
Expression |
FieldAccessExpressionImpl.getQualifier() |
Expression |
SuperConstructorInvocationImpl.getQualifier() |
Expression |
ClassInstanceCreationExpressionImpl.getQualifier() |
Expression |
MethodInvocationExpressionImpl.getQualifier() |
Expression |
AssignmentExpressionImpl.getRightHandSide() |
Expression |
InfixExpressionImpl.getRightOperand() |
Expression |
ConditionalExpressionImpl.getThenExpression() |
Modifier and Type | Method and Description |
---|---|
List<? extends Expression> |
SuperConstructorInvocationImpl.getArguments() |
List<? extends Expression> |
ClassInstanceCreationExpressionImpl.getArguments() |
List<? extends Expression> |
MethodInvocationExpressionImpl.getArguments() |
List<? extends Expression> |
AlternateConstructorInvocationImpl.getArguments() |
List<? extends Expression> |
EnumConstantDeclarationImpl.getArguments() |
List<? extends Expression> |
ArrayCreationExpressionImpl.getDimensionExpressions() |
List<? extends Expression> |
ArrayInitializerImpl.getElements() |
List<? extends Expression> |
StatementExpressionListImpl.getExpressions() |
Modifier and Type | Method and Description |
---|---|
AlternateConstructorInvocation |
ModelFactoryImpl.newAlternateConstructorInvocation(Expression... arguments) |
AnnotationElement |
ModelFactoryImpl.newAnnotationElement(SimpleName name,
Expression expression) |
AnnotationElementDeclaration |
ModelFactoryImpl.newAnnotationElementDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
Type type,
SimpleName name,
Expression defaultExpression) |
ArrayAccessExpression |
ModelFactoryImpl.newArrayAccessExpression(Expression array,
Expression index) |
ArrayInitializer |
ModelFactoryImpl.newArrayInitializer(Expression... elements) |
AssertStatement |
ModelFactoryImpl.newAssertStatement(Expression expression,
Expression message) |
AssignmentExpression |
ModelFactoryImpl.newAssignmentExpression(Expression leftHandSide,
InfixOperator operator,
Expression rightHandSide) |
CastExpression |
ModelFactoryImpl.newCastExpression(Type type,
Expression expression) |
ClassInstanceCreationExpression |
ModelFactoryImpl.newClassInstanceCreationExpression(Expression qualifier,
List<? extends Type> typeArguments,
Type type,
List<? extends Expression> arguments,
ClassBody body) |
ClassInstanceCreationExpression |
ModelFactoryImpl.newClassInstanceCreationExpression(Type type,
Expression... arguments) |
ConditionalExpression |
ModelFactoryImpl.newConditionalExpression(Expression condition,
Expression thenExpression,
Expression elseExpression) |
DoStatement |
ModelFactoryImpl.newDoStatement(Statement body,
Expression condition) |
EnhancedForStatement |
ModelFactoryImpl.newEnhancedForStatement(FormalParameterDeclaration parameter,
Expression expression,
Statement body) |
EnumConstantDeclaration |
ModelFactoryImpl.newEnumConstantDeclaration(Javadoc javadoc,
SimpleName name,
Expression... arguments) |
ExpressionStatement |
ModelFactoryImpl.newExpressionStatement(Expression expression) |
FieldAccessExpression |
ModelFactoryImpl.newFieldAccessExpression(Expression qualifier,
SimpleName name) |
FieldDeclaration |
ModelFactoryImpl.newFieldDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
Type type,
SimpleName name,
Expression initializer) |
ForStatement |
ModelFactoryImpl.newForStatement(ForInitializer initialization,
Expression condition,
StatementExpressionList update,
Statement body) |
IfStatement |
ModelFactoryImpl.newIfStatement(Expression condition,
Statement thenStatement,
Statement elseStatement) |
InfixExpression |
ModelFactoryImpl.newInfixExpression(Expression leftOperand,
InfixOperator operator,
Expression rightOperand) |
InstanceofExpression |
ModelFactoryImpl.newInstanceofExpression(Expression expression,
Type type) |
LocalVariableDeclaration |
ModelFactoryImpl.newLocalVariableDeclaration(Type type,
SimpleName name,
Expression initializer) |
MethodInvocationExpression |
ModelFactoryImpl.newMethodInvocationExpression(Expression qualifier,
List<? extends Type> typeArguments,
SimpleName name,
List<? extends Expression> arguments) |
MethodInvocationExpression |
ModelFactoryImpl.newMethodInvocationExpression(Expression qualifier,
SimpleName name,
Expression... arguments) |
MethodInvocationExpression |
ModelFactoryImpl.newMethodInvocationExpression(Expression qualifier,
SimpleName name,
Expression... arguments) |
MethodInvocationExpression |
ModelFactoryImpl.newMethodInvocationExpression(Expression qualifier,
SimpleName name,
List<? extends Expression> arguments) |
ParenthesizedExpression |
ModelFactoryImpl.newParenthesizedExpression(Expression expression) |
PostfixExpression |
ModelFactoryImpl.newPostfixExpression(Expression operand,
PostfixOperator operator) |
ReturnStatement |
ModelFactoryImpl.newReturnStatement(Expression expression) |
SingleElementAnnotation |
ModelFactoryImpl.newSingleElementAnnotation(NamedType type,
Expression expression) |
StatementExpressionList |
ModelFactoryImpl.newStatementExpressionList(Expression... expressions) |
SuperConstructorInvocation |
ModelFactoryImpl.newSuperConstructorInvocation(Expression... arguments) |
SuperConstructorInvocation |
ModelFactoryImpl.newSuperConstructorInvocation(Expression qualifier,
List<? extends Type> typeArguments,
List<? extends Expression> arguments) |
SwitchCaseLabel |
ModelFactoryImpl.newSwitchCaseLabel(Expression expression) |
SwitchStatement |
ModelFactoryImpl.newSwitchStatement(Expression expression,
List<? extends Statement> statements) |
SynchronizedStatement |
ModelFactoryImpl.newSynchronizedStatement(Expression expression,
Block body) |
ThrowStatement |
ModelFactoryImpl.newThrowStatement(Expression expression) |
TryResource |
ModelFactoryImpl.newTryResource(FormalParameterDeclaration parameter,
Expression expression) |
UnaryExpression |
ModelFactoryImpl.newUnaryExpression(UnaryOperator operator,
Expression operand) |
VariableDeclarator |
ModelFactoryImpl.newVariableDeclarator(SimpleName name,
int extraDimensions,
Expression initializer) |
WhileStatement |
ModelFactoryImpl.newWhileStatement(Expression condition,
Statement body) |
void |
ArrayAccessExpressionImpl.setArray(Expression array)
Sets the array expression.
|
void |
IfStatementImpl.setCondition(Expression condition)
Sets the condition expression.
|
void |
ForStatementImpl.setCondition(Expression condition)
Sets the loop condition expression.
|
void |
DoStatementImpl.setCondition(Expression condition)
Sets the condition expression.
|
void |
WhileStatementImpl.setCondition(Expression condition)
Sets the condition expression.
|
void |
ConditionalExpressionImpl.setCondition(Expression condition)
Sets the condition term.
|
void |
AnnotationElementDeclarationImpl.setDefaultExpression(Expression defaultExpression)
Sets the default annotation element value.
|
void |
ConditionalExpressionImpl.setElseExpression(Expression elseExpression)
Sets the false term.
|
void |
CastExpressionImpl.setExpression(Expression expression)
Sets the target term.
|
void |
AssertStatementImpl.setExpression(Expression expression)
Sets the assertion expression.
|
void |
SwitchStatementImpl.setExpression(Expression expression)
Sets the
switch selector expression. |
void |
ThrowStatementImpl.setExpression(Expression expression)
Sets the thrown object.
|
void |
ExpressionStatementImpl.setExpression(Expression expression)
Sets the element expression.
|
void |
InstanceofExpressionImpl.setExpression(Expression expression)
Sets the target term.
|
void |
AnnotationElementImpl.setExpression(Expression expression)
Sets the annotation element value.
|
void |
SingleElementAnnotationImpl.setExpression(Expression expression)
Sets the value for
value element. |
void |
ReturnStatementImpl.setExpression(Expression expression)
Sets the return value.
|
void |
SynchronizedStatementImpl.setExpression(Expression expression)
Sets the monitor object.
|
void |
SwitchCaseLabelImpl.setExpression(Expression expression)
Sets the
case label value. |
void |
EnhancedForStatementImpl.setExpression(Expression expression)
Sets the loop target expression.
|
void |
ParenthesizedExpressionImpl.setExpression(Expression expression)
Sets the element expression.
|
void |
ArrayAccessExpressionImpl.setIndex(Expression index)
Sets the index expression.
|
void |
TryResourceImpl.setInitializer(Expression initializer)
Sets the resource expression.
|
void |
VariableDeclaratorImpl.setInitializer(Expression initializer)
Sets the variable initializer expression.
|
void |
AssignmentExpressionImpl.setLeftHandSide(Expression leftHandSide)
Sets the left hand side term.
|
void |
InfixExpressionImpl.setLeftOperand(Expression leftOperand)
Sets the left term.
|
void |
AssertStatementImpl.setMessage(Expression message)
Sets the message expression.
|
void |
UnaryExpressionImpl.setOperand(Expression operand)
Sets the operand term.
|
void |
PostfixExpressionImpl.setOperand(Expression operand)
Sets the operand term.
|
void |
FieldAccessExpressionImpl.setQualifier(Expression qualifier)
Sets the qualifier expression.
|
void |
SuperConstructorInvocationImpl.setQualifier(Expression qualifier)
Sets the qualifier expression.
|
void |
ClassInstanceCreationExpressionImpl.setQualifier(Expression qualifier)
Sets the qualifier expression.
|
void |
MethodInvocationExpressionImpl.setQualifier(Expression qualifier)
Sets the qualifier expression or type.
|
void |
AssignmentExpressionImpl.setRightHandSide(Expression rightHandSide)
Sets the right hand side term.
|
void |
InfixExpressionImpl.setRightOperand(Expression rightOperand)
Sets the right term.
|
void |
ConditionalExpressionImpl.setThenExpression(Expression thenExpression)
Sets the truth term.
|
Modifier and Type | Method and Description |
---|---|
AlternateConstructorInvocation |
ModelFactoryImpl.newAlternateConstructorInvocation(List<? extends Expression> arguments) |
AlternateConstructorInvocation |
ModelFactoryImpl.newAlternateConstructorInvocation(List<? extends Type> typeArguments,
List<? extends Expression> arguments) |
ArrayCreationExpression |
ModelFactoryImpl.newArrayCreationExpression(ArrayType type,
List<? extends Expression> dimensionExpressions,
ArrayInitializer arrayInitializer) |
ArrayInitializer |
ModelFactoryImpl.newArrayInitializer(List<? extends Expression> elements) |
ClassInstanceCreationExpression |
ModelFactoryImpl.newClassInstanceCreationExpression(Expression qualifier,
List<? extends Type> typeArguments,
Type type,
List<? extends Expression> arguments,
ClassBody body) |
ClassInstanceCreationExpression |
ModelFactoryImpl.newClassInstanceCreationExpression(Type type,
List<? extends Expression> arguments) |
EnumConstantDeclaration |
ModelFactoryImpl.newEnumConstantDeclaration(Javadoc javadoc,
List<? extends Attribute> modifiers,
SimpleName name,
List<? extends Expression> arguments,
ClassBody body) |
MethodInvocationExpression |
ModelFactoryImpl.newMethodInvocationExpression(Expression qualifier,
List<? extends Type> typeArguments,
SimpleName name,
List<? extends Expression> arguments) |
MethodInvocationExpression |
ModelFactoryImpl.newMethodInvocationExpression(Expression qualifier,
SimpleName name,
List<? extends Expression> arguments) |
StatementExpressionList |
ModelFactoryImpl.newStatementExpressionList(List<? extends Expression> expressions) |
SuperConstructorInvocation |
ModelFactoryImpl.newSuperConstructorInvocation(Expression qualifier,
List<? extends Type> typeArguments,
List<? extends Expression> arguments) |
SuperConstructorInvocation |
ModelFactoryImpl.newSuperConstructorInvocation(List<? extends Expression> arguments) |
void |
SuperConstructorInvocationImpl.setArguments(List<? extends Expression> arguments)
Sets the actual arguments.
|
void |
ClassInstanceCreationExpressionImpl.setArguments(List<? extends Expression> arguments)
Sets the actual arguments.
|
void |
MethodInvocationExpressionImpl.setArguments(List<? extends Expression> arguments)
Sets the actual arguments.
|
void |
AlternateConstructorInvocationImpl.setArguments(List<? extends Expression> arguments)
Sets the actual arguments.
|
void |
EnumConstantDeclarationImpl.setArguments(List<? extends Expression> arguments)
Sets the constructor arguments.
|
void |
ArrayCreationExpressionImpl.setDimensionExpressions(List<? extends Expression> dimensionExpressions)
Sets expressions which represent the number of dimensions for the creating array.
|
void |
ArrayInitializerImpl.setElements(List<? extends Expression> elements)
Sets the element expressions.
|
void |
StatementExpressionListImpl.setExpressions(List<? extends Expression> expressions)
Sets the expression list.
|
Modifier and Type | Method and Description |
---|---|
static ExpressionPriority |
ExpressionPriority.valueOf(Expression expression)
Returns the priority about the target expression.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Annotation
An abstract super interface of annotations.
|
interface |
ArrayAccessExpression
An interface which represents array access expression.
|
interface |
ArrayCreationExpression
An interface which represents array creation expression.
|
interface |
ArrayInitializer
An interface which represents the array initializer.
|
interface |
AssignmentExpression
An interface which represents assignment expression.
|
interface |
CastExpression
An interface which represents type cast expression.
|
interface |
ClassInstanceCreationExpression
An interface which represents class instance creation expression.
|
interface |
ClassLiteral
An interface which represents class literals.
|
interface |
ConditionalExpression
An interface which represents conditional expression.
|
interface |
ConstructorReferenceExpression
An interface which represents method reference expressions only for constructors.
|
interface |
FieldAccessExpression
An interface which represents field access expressions.
|
interface |
InfixExpression
An interface which represents binary expression operator.
|
interface |
InstanceofExpression
An interface which represents
instance of expression. |
interface |
Keyword
An abstract super interface of
super and this qualifiers (pseudo-expressions). |
interface |
LambdaExpression
An abstract super interface of lambda expressions.
|
interface |
Literal
An interface which represents literals.
|
interface |
MarkerAnnotation
An interface which represents annotations without any annotation elements.
|
interface |
MethodInvocationExpression
An interface which represents method invocation expressions.
|
interface |
MethodOrConstructorReferenceExpression
An interface which represents method reference expressions.
|
interface |
MethodReferenceExpression
An interface which represents method reference expressions.
|
interface |
Name
An abstract super interface of names.
|
interface |
NormalAnnotation
An interface which represents regular annotations which can have any annotation elements.
|
interface |
ParenthesizedExpression
An interface which represents parenthesized expressions.
|
interface |
PostfixExpression
An interface which represents postfix expressions.
|
interface |
QualifiedName
An interface which represents qualified names.
|
interface |
SimpleName
An interface which represents simple names.
|
interface |
SingleElementAnnotation
An interface which represents single element annotations which only can have
value element. |
interface |
Super
An interface which represents
super qualifier (pseudo-expression). |
interface |
This
An interface which represents this keyword.
|
interface |
UnaryExpression
An interface which represents unary expressions.
|
Modifier and Type | Method and Description |
---|---|
Expression |
ArrayAccessExpression.getArray()
Returns the array expression.
|
Expression |
WhileStatement.getCondition()
Returns the condition expression.
|
Expression |
IfStatement.getCondition()
Returns the condition expression.
|
Expression |
ForStatement.getCondition()
Returns the loop condition expression.
|
Expression |
DoStatement.getCondition()
Returns the condition expression.
|
Expression |
ConditionalExpression.getCondition()
Returns the condition term.
|
Expression |
AnnotationElementDeclaration.getDefaultExpression()
Returns the default value of the element.
|
Expression |
ConditionalExpression.getElseExpression()
Returns the false term.
|
Expression |
ThrowStatement.getExpression()
Returns the thrown object.
|
Expression |
SynchronizedStatement.getExpression()
Returns the monitor object.
|
Expression |
SwitchStatement.getExpression()
Returns the
switch selector expression. |
Expression |
SwitchCaseLabel.getExpression()
Returns the
case label value. |
Expression |
SingleElementAnnotation.getExpression()
Returns the value for
value element. |
Expression |
ReturnStatement.getExpression()
Returns the return value.
|
Expression |
ParenthesizedExpression.getExpression()
Returns the element expression.
|
Expression |
InstanceofExpression.getExpression()
Returns the target term.
|
Expression |
ExpressionStatement.getExpression()
Returns the element expression.
|
Expression |
EnhancedForStatement.getExpression()
Returns the loop target expression.
|
Expression |
CastExpression.getExpression()
Returns the target term.
|
Expression |
AssertStatement.getExpression()
Returns the assertion expression.
|
Expression |
AnnotationElement.getExpression()
Returns the element value.
|
Expression |
ArrayAccessExpression.getIndex()
Returns the index expression.
|
Expression |
TryResource.getInitializer()
Returns the resource expression.
|
Expression |
VariableDeclarator.getInitializer()
Returns the variable initializer expression.
|
Expression |
AssignmentExpression.getLeftHandSide()
Returns the left hand side term.
|
Expression |
InfixExpression.getLeftOperand()
Returns the left term.
|
Expression |
AssertStatement.getMessage()
Returns the assertion expression.
|
Expression |
UnaryExpression.getOperand()
Returns the operand term.
|
Expression |
PostfixExpression.getOperand()
Returns the operand term.
|
Expression |
SuperConstructorInvocation.getQualifier()
Returns the qualifier expression.
|
Expression |
MethodInvocationExpression.getQualifier()
Returns the qualifier expression or type.
|
Expression |
FieldAccessExpression.getQualifier()
Returns the qualifier expression.
|
Expression |
ClassInstanceCreationExpression.getQualifier()
Returns the qualifier expression.
|
Expression |
AssignmentExpression.getRightHandSide()
Returns the right hand side term.
|
Expression |
InfixExpression.getRightOperand()
Returns the right term.
|
Expression |
ConditionalExpression.getThenExpression()
Returns the truth term.
|
Modifier and Type | Method and Description |
---|---|
List<? extends Expression> |
MethodInvocationExpression.getArguments()
Returns the actual arguments.
|
List<? extends Expression> |
EnumConstantDeclaration.getArguments()
Returns the constructor arguments.
|
List<? extends Expression> |
ClassInstanceCreationExpression.getArguments()
Returns the actual arguments.
|
List<? extends Expression> |
ConstructorInvocation.getArguments()
Returns the actual arguments.
|
List<? extends Expression> |
ArrayCreationExpression.getDimensionExpressions()
Returns the dimension expressions.
|
List<? extends Expression> |
ArrayInitializer.getElements()
Returns the element expressions.
|
List<? extends Expression> |
StatementExpressionList.getExpressions()
Returns the expression list.
|
Modifier and Type | Method and Description |
---|---|
Expression |
ExpressionBuilder.toExpression()
Returns the built expression.
|
static Expression |
Models.toLiteral(ModelFactory factory,
byte value)
Returns a Java literal (with cast operation) of the target value.
|
static Expression |
Models.toLiteral(ModelFactory factory,
Object value)
Returns a Java literal of the target value.
|
static Expression |
Models.toLiteral(ModelFactory factory,
short value)
Returns a Java literal (with cast operation) of the target value.
|
Modifier and Type | Method and Description |
---|---|
AttributeBuilder |
AttributeBuilder.annotation(Type type,
Expression value)
Appends the single element annotation to the builder.
|
AttributeBuilder |
AttributeBuilder.annotation(Type type,
Expression value)
Appends the single element annotation to the builder.
|
AttributeBuilder |
AttributeBuilder.annotation(Type type,
String elementName,
Expression elementValue)
Appends the annotation to the builder.
|
AttributeBuilder |
AttributeBuilder.annotation(Type type,
String elementName1,
Expression elementValue1,
String elementName2,
Expression elementValue2)
Appends the annotation to the builder.
|
AttributeBuilder |
AttributeBuilder.annotation(Type type,
String elementName1,
Expression elementValue1,
String elementName2,
Expression elementValue2,
String elementName3,
Expression elementValue3)
Appends the annotation to the builder.
|
AttributeBuilder |
AttributeBuilder.annotation(Type type,
String elementName1,
Expression elementValue1,
String elementName2,
Expression elementValue2,
String elementName3,
Expression elementValue3,
String elementName4,
Expression elementValue4)
Appends the annotation to the builder.
|
AttributeBuilder |
AttributeBuilder.annotation(Type type,
String elementName1,
Expression elementValue1,
String elementName2,
Expression elementValue2,
String elementName3,
Expression elementValue3,
String elementName4,
Expression elementValue4,
String elementName5,
Expression elementValue5)
Appends the annotation to the builder.
|
ExpressionBuilder |
ExpressionBuilder.apply(InfixOperator operator,
Expression right)
Returns a binary expression which contains the building expression on the left term.
|
ExpressionBuilder |
ExpressionBuilder.array(Expression 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.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,
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(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(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 |
TypeBuilder.newArray(Expression... dimensions)
Returns the array instance creation expression.
|
ExpressionBuilder |
TypeBuilder.newObject(Expression... arguments)
Returns the class instance creation expression.
|
Modifier and Type | Method and Description |
---|---|
AttributeBuilder |
AttributeBuilder.annotation(Type type,
Map<? extends String,? extends Expression> elements)
Adds the specified annotation.
|
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,
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,
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,
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 |
TypeBuilder.newArray(List<? extends Expression> dimensions)
Returns the array 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.
|
Constructor and Description |
---|
ExpressionBuilder(ModelFactory factory,
Expression context)
Creates a new instance.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.