Compiler Tree API

Uses of Interface
com.sun.source.tree.ExpressionTree

Packages that use ExpressionTree
com.sun.source.tree Provides interfaces to represent source code as abstract syntax trees (AST). 
 

Uses of ExpressionTree in com.sun.source.tree
 

Subinterfaces of ExpressionTree in com.sun.source.tree
 interface AnnotationTree
          A tree node for an annotation.
 interface ArrayAccessTree
          A tree node for an array access expression.
 interface AssignmentTree
          A tree node for an assignment expression.
 interface BinaryTree
          A tree node for a binary expression.
 interface CompoundAssignmentTree
          A tree node for compound assignment operator.
 interface ConditionalExpressionTree
          A tree node for the conditional operator ? :.
 interface ErroneousTree
          A tree node to stand in for a malformed expression.
 interface IdentifierTree
          A tree node for an identifier expression.
 interface InstanceOfTree
          A tree node for an 'instanceof' expression.
 interface LiteralTree
          A tree node for a literal expression.
 interface MemberSelectTree
          A tree node for a member access expression.
 interface MethodInvocationTree
          A tree node for a method invocation expression.
 interface NewArrayTree
          A tree node for an expression to create a new instance of an array.
 interface NewClassTree
          A tree node to declare a new instance of a class.
 interface ParenthesizedTree
          A tree node for a parenthesized expression.
 interface TypeCastTree
          A tree node for a type cast expression.
 interface UnaryTree
          A tree node for postfix and unary expressions.
 

Methods in com.sun.source.tree that return ExpressionTree
 ExpressionTree WhileLoopTree.getCondition()
           
 ExpressionTree IfTree.getCondition()
           
 ExpressionTree ForLoopTree.getCondition()
           
 ExpressionTree DoWhileLoopTree.getCondition()
           
 ExpressionTree ConditionalExpressionTree.getCondition()
           
 ExpressionTree AssertTree.getCondition()
           
 ExpressionTree AssertTree.getDetail()
           
 ExpressionTree NewClassTree.getEnclosingExpression()
           
 ExpressionTree UnaryTree.getExpression()
           
 ExpressionTree TypeCastTree.getExpression()
           
 ExpressionTree ThrowTree.getExpression()
           
 ExpressionTree SynchronizedTree.getExpression()
           
 ExpressionTree SwitchTree.getExpression()
           
 ExpressionTree ReturnTree.getExpression()
           
 ExpressionTree ParenthesizedTree.getExpression()
           
 ExpressionTree MemberSelectTree.getExpression()
           
 ExpressionTree InstanceOfTree.getExpression()
           
 ExpressionTree ExpressionStatementTree.getExpression()
           
 ExpressionTree EnhancedForLoopTree.getExpression()
           
 ExpressionTree CompoundAssignmentTree.getExpression()
           
 ExpressionTree CaseTree.getExpression()
           
 ExpressionTree AssignmentTree.getExpression()
           
 ExpressionTree ArrayAccessTree.getExpression()
           
 ExpressionTree ConditionalExpressionTree.getFalseExpression()
           
 ExpressionTree NewClassTree.getIdentifier()
           
 ExpressionTree ArrayAccessTree.getIndex()
           
 ExpressionTree VariableTree.getInitializer()
           
 ExpressionTree BinaryTree.getLeftOperand()
           
 ExpressionTree MethodInvocationTree.getMethodSelect()
           
 ExpressionTree CompilationUnitTree.getPackageName()
           
 ExpressionTree BinaryTree.getRightOperand()
           
 ExpressionTree ConditionalExpressionTree.getTrueExpression()
           
 ExpressionTree CompoundAssignmentTree.getVariable()
           
 ExpressionTree AssignmentTree.getVariable()
           
 

Methods in com.sun.source.tree that return types with arguments of type ExpressionTree
 List<? extends ExpressionTree> NewClassTree.getArguments()
           
 List<? extends ExpressionTree> MethodInvocationTree.getArguments()
           
 List<? extends ExpressionTree> AnnotationTree.getArguments()
           
 List<? extends ExpressionTree> NewArrayTree.getDimensions()
           
 List<? extends ExpressionTree> NewArrayTree.getInitializers()
           
 List<? extends ExpressionTree> MethodTree.getThrows()
           
 


Compiler Tree API

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