Package | Description |
---|---|
com.sun.source.tree |
Provides interfaces to represent source code as abstract syntax
trees (AST).
|
com.sun.source.util |
Provides utilities for operations on abstract syntax trees (AST).
|
Modifier and Type | Method | Description |
---|---|---|
VariableTree |
CatchTree.getParameter() |
Returns the catch variable.
|
VariableTree |
MethodTree.getReceiverParameter() |
Return an explicit receiver parameter ("this" parameter),
or
null if none. |
VariableTree |
EnhancedForLoopTree.getVariable() |
Returns the control variable for the loop.
|
Modifier and Type | Method | Description |
---|---|---|
List<? extends VariableTree> |
LambdaExpressionTree.getParameters() |
Returns the parameters of this lambda expression.
|
List<? extends VariableTree> |
MethodTree.getParameters() |
Returns the parameters of the method being declared.
|
Modifier and Type | Method | Description |
---|---|---|
R |
TreeVisitor.visitVariable(VariableTree node,
P p) |
Visits a VariableTree node.
|
Modifier and Type | Method | Description |
---|---|---|
R |
SimpleTreeVisitor.visitVariable(VariableTree node,
P p) |
Visits a VariableTree node.
|
R |
TreeScanner.visitVariable(VariableTree node,
P p) |
Visits a VariableTree node.
|
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b153-2