Package | Description |
---|---|
javax.ide.model.java.source |
Various interfaces for use with Tree objects.
|
javax.ide.model.java.source.tree |
The Java AST.
|
Modifier and Type | Method and Description |
---|---|
ListExpressionT |
TreeFactory.createArgumentList()
Creates an argument list.
|
ListExpressionT |
TreeFactory.createArgumentList(ExpressionT argument)
Creates an argument list.
|
ListExpressionT |
TreeFactory.createArgumentList(ExpressionT[] arguments)
Creates an argument list.
|
ListExpressionT |
TreeFactory.createArrayConstant()
Creates an array constant.
|
ListExpressionT |
TreeFactory.createArrayConstant(ExpressionT operand)
Creates an array constant.
|
abstract ListExpressionT |
TreeFactory.createArrayConstant(ExpressionT[] operands)
Creates an array constant.
|
ListExpressionT |
TreeFactory.createExpressionList()
Creates a list expression.
|
ListExpressionT |
TreeFactory.createExpressionList(ExpressionT argument)
Creates a list expression.
|
abstract ListExpressionT |
TreeFactory.createExpressionList(ExpressionT[] arguments)
Creates a list expression.
|
Modifier and Type | Method and Description |
---|---|
abstract AnnotationT |
TreeFactory.createAnnotation(java.lang.String name,
ListExpressionT arguments)
Creates an annotation (but not an annotation type).
|
abstract ArrayAccessExpressionT |
TreeFactory.createArrayAccess(ExpressionT lhs,
ListExpressionT dereferences)
Creates an array access.
|
abstract FieldDeclT |
TreeFactory.createEnumConstant(java.lang.String name,
ListExpressionT arguments,
ClassBodyT body) |
abstract ForStatementT |
TreeFactory.createForStatement(ListExpressionT initializations,
ExpressionT condition,
ListExpressionT updates,
StatementT child)
Creates a traditional for loop with no variable declarators.
|
abstract ForStatementT |
TreeFactory.createForVariableStatement(LocalVariableDeclT variables,
ExpressionT condition,
ListExpressionT updates,
StatementT child)
Creates a traditional for loop with variable declarators.
|
abstract MethodCallExpressionT |
TreeFactory.createMethodCall(ExpressionT lhs,
TypeArgumentT[] typeArguments,
java.lang.String name,
ListExpressionT arguments)
Creates a method call.
|
abstract NewClassExpressionT |
TreeFactory.createNewClassExpression(ExpressionT lhs,
TypeReferenceT type,
ListExpressionT arguments,
ClassBodyT body)
Creates a class creator.
|
abstract NewArrayExpressionT |
TreeFactory.createNewInitializedArrayExpression(TypeReferenceT type,
ListExpressionT arrayconst)
Creates an array creator for an uninitialized array.
|
abstract NewArrayExpressionT |
TreeFactory.createNewUninitializedArrayExpression(TypeReferenceT type,
ListExpressionT args)
Creates an array creator for an initialized array.
|
void |
TreeVisitor.visitListExpression(ListExpressionT tree)
Visits a ListExpressionT.
|
Modifier and Type | Method and Description |
---|---|
ListExpressionT |
InvokeExpressionT.getArgumentList() |
ListExpressionT |
AnnotationT.getArgumentList()
Gets the argument list as a tree.
|
ListExpressionT |
EnumConstantT.getArguments()
Gets the constructor invocation arguments if this is an enum
constant.
|
ListExpressionT |
ForStatementT.getForInitializationList()
In a standard for loop with no variable declarations, this is the
list wrapping the initialization terms.
|
ListExpressionT |
ForStatementT.getForUpdateList()
In a standard for loop, this is the list wrapping the update
terms.
|
Modifier and Type | Method and Description |
---|---|
void |
EnumConstantT.setArguments(ListExpressionT arguments)
Attempts to set the argument list.
|