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 |
---|---|
abstract LocalVariableT |
TreeFactory.createLocalVariable(TypeReferenceT type,
java.lang.String name,
ExpressionT initializer)
Creates a local variable
|
Modifier and Type | Method and Description |
---|---|
FieldDeclT |
TreeFactory.createFieldDeclaration(LocalVariableT variable)
Creates a field variable to match the local variable.
|
abstract FieldVariableT |
TreeFactory.createFieldVariable(LocalVariableT variable)
Creates a field variable to match the local variable.
|
abstract ForStatementT |
TreeFactory.createForEnhancedStatement(LocalVariableT loopVariable,
ExpressionT collection,
StatementT child)
Creates an enhanced-for loop.
|
abstract FormalParameterT |
TreeFactory.createFormalParameter(LocalVariableT variable)
Creates a formal parameter.
|
ForStatementT |
TreeFactory.createForVariableStatement(LocalVariableT variable,
ExpressionT condition,
ExpressionT update,
StatementT child)
Convenience method.
|
LocalVariableDeclT |
TreeFactory.createLocalVariableDeclaration(LocalVariableT variable)
Creates a local variable declaration.
|
abstract LocalVariableDeclT |
TreeFactory.createLocalVariableDeclaration(LocalVariableT one,
LocalVariableT[] more)
Creates a local variable declaration.
|
abstract LocalVariableDeclT |
TreeFactory.createLocalVariableDeclaration(LocalVariableT one,
LocalVariableT[] more)
Creates a local variable declaration.
|
void |
TreeVisitor.visitLocalVariable(LocalVariableT tree)
Visits a LocalVariableT.
|
Modifier and Type | Field and Description |
---|---|
static LocalVariableT[] |
LocalVariableT.EMPTY_ARRAY |