Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

Uses of Interface
javax.ide.model.java.source.tree.ExpressionT

Packages that use ExpressionT
javax.ide.model.java.source Various interfaces for use with Tree objects. 
javax.ide.model.java.source.tree The Java AST. 
 

Uses of ExpressionT in javax.ide.model.java.source
 

Methods in javax.ide.model.java.source that return ExpressionT
abstract  ExpressionT TreeFactory.textToExpression(java.lang.String text)
          Attempts to create an expression with the given text.
 

Methods in javax.ide.model.java.source with parameters of type ExpressionT
 ListExpressionT TreeFactory.createArgumentList(ExpressionT argument)
          Creates an argument list.
 ListExpressionT TreeFactory.createArgumentList(ExpressionT[] arguments)
          Creates an argument list.
abstract  ArrayAccessExpressionT TreeFactory.createArrayAccess(ExpressionT lhs, ListExpressionT dereferences)
          Creates an array access.
 ListExpressionT TreeFactory.createArrayConstant(ExpressionT operand)
          Creates an array constant.
abstract  ListExpressionT TreeFactory.createArrayConstant(ExpressionT[] operands)
          Creates an array constant.
abstract  AssertStatementT TreeFactory.createAssertStatement(ExpressionT condition, ExpressionT output)
          Creates an assert statement.
abstract  AssignmentExpressionT TreeFactory.createAssignment(ExpressionT.ExpressionKind kind, ExpressionT lhs, ExpressionT rhs)
          Creates an assignment expression.
abstract  DoStatementT TreeFactory.createDoStatement(ExpressionT e, StatementT child)
          Creates a do-while statement.
abstract  DotExpressionT TreeFactory.createDotReference(ExpressionT lhs, java.lang.String name)
          Creates a dot reference.
 ListExpressionT TreeFactory.createExpressionList(ExpressionT argument)
          Creates a list expression.
abstract  ListExpressionT TreeFactory.createExpressionList(ExpressionT[] arguments)
          Creates a list expression.
abstract  ExpressionStatementT TreeFactory.createExpressionStatement(ExpressionT e)
          Creates an expression statement.
abstract  ForStatementT TreeFactory.createForEnhancedStatement(LocalVariableT loopVariable, ExpressionT collection, StatementT child)
          Creates an enhanced-for loop.
 ForStatementT TreeFactory.createForStatement(ExpressionT initialization, ExpressionT condition, ExpressionT update, StatementT child)
          Convenience method.
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.
 ForStatementT TreeFactory.createForVariableStatement(LocalVariableT variable, ExpressionT condition, ExpressionT update, StatementT child)
          Convenience method.
 IfStatementT TreeFactory.createIfElseStatement(ExpressionT e, StatementT trueClause, StatementT elseClause)
          Creates an if-else statement.
abstract  IfStatementT TreeFactory.createIfStatement(ExpressionT e, StatementT child)
          Creates an if statement.
abstract  IfStatementT TreeFactory.createIfStatement(ExpressionT e, StatementT child, ElseClauseT elseClause)
          Creates an if or an if-else statement.
 InfixExpressionT TreeFactory.createInfixExpression(ExpressionT.ExpressionKind kind, ExpressionT lhs, ExpressionT rhs)
          Creates an infix expression with two operands.
abstract  InfixExpressionT TreeFactory.createInfixExpression(ExpressionT.ExpressionKind kind, ExpressionT one, ExpressionT two, ExpressionT[] operands)
          Creates an infix expression with multiple operands.
abstract  InfixExpressionT TreeFactory.createInfixExpression(ExpressionT.ExpressionKind kind, ExpressionT one, ExpressionT two, ExpressionT[] operands)
          Creates an infix expression with multiple operands.
abstract  InfixExpressionT TreeFactory.createInstanceof(ExpressionT lhs, TypeReferenceT type)
          Creates a new instanceof expression.
abstract  LocalVariableT TreeFactory.createLocalVariable(TypeReferenceT type, java.lang.String name, ExpressionT initializer)
          Creates a local variable
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  QuestionExpressionT TreeFactory.createQuestionExpression(ExpressionT one, ExpressionT two, ExpressionT three)
          Creates a question expression.
abstract  ReturnStatementT TreeFactory.createReturnStatement(ExpressionT e)
          Creates a return statement.
abstract  SwitchStatementT TreeFactory.createSwitchStatement(ExpressionT e, BlockStatementT child)
          Creates a switch statement.
abstract  SynchStatementT TreeFactory.createSynchronizedStatement(ExpressionT e, BlockStatementT child)
          Creates a synchronized statement.
abstract  ThrowStatementT TreeFactory.createThrowStatement(ExpressionT e)
          Creates a throw statement.
abstract  TypecastExpressionT TreeFactory.createTypecast(TypeReferenceT type, ExpressionT operand)
          Creates a typecast.
abstract  UnaryExpressionT TreeFactory.createUnaryExpression(ExpressionT.ExpressionKind kind, ExpressionT operand)
          Creates a unary expression.
abstract  WhileStatementT TreeFactory.createWhileStatement(ExpressionT e, StatementT child)
          Creates a while statement.
abstract  WrapperExpressionT TreeFactory.createWrapperExpression(ExpressionT operand)
          Creates a wrapper expression.
 

Uses of ExpressionT in javax.ide.model.java.source.tree
 

Subinterfaces of ExpressionT in javax.ide.model.java.source.tree
 interface AnnotationExpressionT
          An expression wrapping an annotation.
 interface ArrayAccessExpressionT
          An array access expression.
 interface AssignmentExpressionT
          An expression performing an assignment operation.
 interface DereferenceExpressionT
          Common supertype for expressions performing dereference operations.
 interface DotExpressionT
          A expression representing an identifier selector.
 interface IdentifierExpressionT
          An expression representing an unqualified name.
 interface InfixExpressionT
          An expression involving an infix operation (but not an assignment operation).
 interface InvokeExpressionT
          Common supertype for an expression that invokes a method.
 interface ListExpressionT
          An expression wrapping a list of expressions.
 interface LiteralExpressionT
          An expression representing a lexer literal.
 interface MethodCallExpressionT
          An expression performing a method invocation or an explicit constructor invocation.
 interface NewArrayExpressionT
          An expression creating a new array.
 interface NewClassExpressionT
          An expression creating a new instance of a class.
 interface OperatorExpressionT
          Common supertype for multi-operand operations.
 interface QuestionExpressionT
          An expression with the ?: operator, formally known as the "conditional operator".
 interface TypecastExpressionT
          An expression performing a typecast operation.
 interface TypeExpressionT
          An expression wrapping a type reference.
 interface UnaryExpressionT
          An expression performing a prefix or postfix operation, but not a typecast operation.
 interface WrapperExpressionT
          An expression wrapping another one, either with parentheses or brackets.
 

Fields in javax.ide.model.java.source.tree declared as ExpressionT
static ExpressionT[] ExpressionT.EMPTY_ARRAY
           
 

Methods in javax.ide.model.java.source.tree that return ExpressionT
 ExpressionT InvokeExpressionT.getArgumentAt(int i)
          Equivalent to calling getArgumentList().getOperandAt( i ).
 ExpressionT AnnotationT.getArgumentAt(int i)
          Gets the indicated argument.
 ExpressionT CompoundStatementT.getControlExpression()
          In a for statement, null is returned.
 ExpressionT SwitchLabelT.getExpression()
           
 ExpressionT SimpleStatementT.getExpression()
          Valid for "return", "throw", and "assert" statements and for "case" labels.
 ExpressionT ExpressionT.getFirstOperand()
           
 ExpressionT ForStatementT.getForCollection()
          In an enhanced for loop, this is the collection expression.
 ExpressionT ForStatementT.getForConditional()
          In a standard for loop, this is the condition expression.
 ExpressionT VariableT.getInitializer()
          Gets the initializer, null if none.
 ExpressionT DereferenceExpressionT.getLhsOperand()
           
 ExpressionT ExpressionT.getOperandAt(int index)
          Gets the operand at the specified index in the operand array.
 ExpressionT AssertStatementT.getOutputExpression()
          Valid for "assert" statements.
 ExpressionT ExpressionT.getSecondOperand()
           
 ExpressionT ExpressionT.getThirdOperand()
           
 

Methods in javax.ide.model.java.source.tree with parameters of type ExpressionT
 void ForStatementT.setForCollection(ExpressionT e)
          Attempts to set the collection expression on this for statement.
 void ForStatementT.setForConditional(ExpressionT e)
          Attempts to set the conditional expression on this for statement.
 void VariableT.setInitializer(ExpressionT expr)
          Unlinks the current initializer, if any, and links the input element.
 void DereferenceExpressionT.setLhsOperand(ExpressionT e)
          Attempts to set the lhs operand for this expression.
 


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

Copyright © 1997, 2013, Oracle. All rights reserved.