Uses of Interface
openjava.ptree.VariableInitializer

Packages that use VariableInitializer
openjava.ptree   
openjava.ptree.util   
 

Uses of VariableInitializer in openjava.ptree
 

Subinterfaces of VariableInitializer in openjava.ptree
 interface Expression
          The Expression interface presents common interface to access Expression node of parse tree this interface is implements by UnaryExpression BinaryExpression ConditionalExpression AssignmentExpression CastExpression AllocationExpression ArrayAllocationExpression Variable MethodCall SpecialName Literal ClassLiteral ArrayAccess FieldAccess
 

Classes in openjava.ptree that implement VariableInitializer
 class AllocationExpression
          The AllocationExpression class represents an expression which allocates a new object with its constructor.
 class ArrayAccess
          The ArrayAccess represents an array access.
 class ArrayAllocationExpression
          The ArrayAllocationExpression class represents an expression which allocates a new array object.
 class ArrayInitializer
          The ArrayInitializer class presents initializer list of array elements.
 class AssignmentExpression
          The AssignmentExpression class represents an assignment expression with an assignment operator.
 class BinaryExpression
          The BinaryExpression class represents an expression which consists of an operators and two operands.
 class CastExpression
          The CastExpression class represents a cast expression of parse tree.
 class ClassLiteral
          The ClassLiteral class represents an expression as a object of Class class, which is suppoted since JDK 1.1.
 class ConditionalExpression
          The ConditionalExpression class represents a conditional expression like:
(i == 1) ?
 class ExpressionObject
          The Expression interface presents common interface to access Expression node of parse tree this interface is implements by UnaryExpression BinaryExpression ConditionalExpression AssignmentExpression CastExpression AllocationExpression ArrayAllocationExpression Variable MethodCall SpecialName Literal ClassLiteral ArrayAccess FieldAccess
 class FieldAccess
          The FieldAccess class represents a field access like :
f().str
In this field access, you can get f() by getReferenceExpr() and can get str by getName() .
 class InstanceofExpression
          The InstanceofExpression represents the expression like :
obj instanceof Object
If the operator in the expression of the left operand has week unity, this automatically produces the code in which the left operand is enclosed by parenthesises.
 class Literal
          The Literal class represents a literal.
 class MethodCall
          The MethodCall class represents a method call expression.
 class SelfAccess
          The class SelfAccess represents an access to this object. this or super
 class UnaryExpression
          The UnaryExpression class presents for an expression which consists of unary operator with one Expression.
 class Variable
          The Variable class represents a type specifier node of parse tree.
 

Methods in openjava.ptree that return VariableInitializer
 VariableInitializer VariableDeclaration.getInitializer()
          Gets variable initializer.
 VariableInitializer FieldDeclaration.getInitializer()
          Gets variable initializer of this field.
 VariableInitializer VariableDeclarator.getInitializer()
          Gets variable initializer.
 VariableInitializer ArrayInitializer.get(int n)
          Gets the specified element at the index.
 VariableInitializer ArrayInitializer.remove(int index)
          Removes the element at the specified position in this Vector. shifts any subsequent elements to the left (subtracts one from their indices).
 

Methods in openjava.ptree with parameters of type VariableInitializer
 void VariableDeclaration.setInitializer(VariableInitializer vinit)
          Sets variable initializer.
 void FieldDeclaration.setInitializer(VariableInitializer vinit)
          Gets variable initializer of this field.
 void VariableDeclarator.setInitializer(VariableInitializer vinit)
          Sets variable initializer.
 void ArrayInitializer.add(VariableInitializer p)
          Adds the specified element after the list This causes side-effect.
 void ArrayInitializer.set(int index, VariableInitializer p)
          Adds the specified element after the list This causes side-effect.
 void ArrayInitializer.insertElementAt(VariableInitializer p, int n)
          Inserts the specified element into the list before the specified element of the list.
 

Constructors in openjava.ptree with parameters of type VariableInitializer
VariableDeclaration(ModifierList modifs, TypeName typespec, java.lang.String vname, VariableInitializer vinit)
          Allocates a new object.
VariableDeclaration(TypeName typespec, java.lang.String vname, VariableInitializer vinit)
          Allocates a new object.
FieldDeclaration(ModifierList e0, TypeName e1, java.lang.String e2, VariableInitializer e3)
           
VariableDeclarator(java.lang.String declname, int dims, VariableInitializer varinit)
          Allocates a new object.
VariableDeclarator(java.lang.String declname, VariableInitializer varinit)
          Allocates a new object.
ArrayInitializer(VariableInitializer vi)
           
 

Uses of VariableInitializer in openjava.ptree.util
 

Methods in openjava.ptree.util that return VariableInitializer
 VariableInitializer EvaluationShuttle.evaluateDown(ArrayInitializer p)
           
 VariableInitializer EvaluationShuttle.evaluateUp(ArrayInitializer p)
           
 

Methods in openjava.ptree.util with parameters of type VariableInitializer
 void ParseTreeVisitor.visit(VariableInitializer p)