Uses of Interface com.sun.source.tree.VariableTree (Compiler Tree API )
Date: 2018-03-02

## Uses of Interface
com.sun.source.tree.VariableTree

- Packages that use VariableTree
  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).

- - ### Uses of VariableTree in com.sun.source.tree

    Methods in com.sun.source.tree that return VariableTree
    Modifier and Type | Method and Description
    --- | ---
    `VariableTree` | CatchTree.`getParameter()`
    `VariableTree` | MethodTree.`getReceiverParameter()` Return an explicit receiver parameter ("this" parameter).
    `VariableTree` | EnhancedForLoopTree.`getVariable()`

    Methods in com.sun.source.tree that return types with arguments of type VariableTree
    Modifier and Type | Method and Description
    --- | ---
    `List<? extends VariableTree>` | LambdaExpressionTree.`getParameters()`
    `List<? extends VariableTree>` | MethodTree.`getParameters()`

    Methods in com.sun.source.tree with parameters of type VariableTree
    Modifier and Type | Method and Description
    --- | ---
    `R` | TreeVisitor.`visitVariable(VariableTree node, P p)`

  - ### Uses of VariableTree in com.sun.source.util

    Methods in com.sun.source.util with parameters of type VariableTree
    Modifier and Type | Method and Description
    --- | ---
    `R` | TreeScanner.`visitVariable(VariableTree node, P p)`
    `R` | SimpleTreeVisitor.`visitVariable(VariableTree node, P p)`

Copyright © 2005, 2018, Oracle and/or its affiliates. All rights reserved.