Uses of Class
openjava.ptree.TypeName

Packages that use TypeName
openjava.mop Provides classes that are fundamental to the design of the OpenJava Meta-Object Protocols (MOP).  
openjava.ptree   
openjava.ptree.util   
openjava.syntax   
 

Uses of TypeName in openjava.mop
 

Methods in openjava.mop that return TypeName
 TypeName OJClass.expandTypeName(Environment env, TypeName expr)
           
static TypeName[] Toolbox.TNsForOJClasses(OJClass[] classes)
           
 

Methods in openjava.mop with parameters of type TypeName
 TypeName OJClass.expandTypeName(Environment env, TypeName expr)
           
 

Uses of TypeName in openjava.ptree
 

Methods in openjava.ptree that return TypeName
 TypeName VariableDeclaration.getTypeSpecifier()
          Gets the type specifier of this variable declaration.
 TypeName FieldDeclaration.getTypeSpecifier()
          Gets type specifier of this field variable.
 TypeName ArrayAllocationExpression.getTypeName()
          Gets the type name of the array.
 TypeName ForStatement.getInitDeclType()
          Gets the initialization part of this for-statement.
 TypeName[] ConstructorDeclaration.getThrows()
          Gets the class type list thrown by this constructor.
 TypeName MethodDeclaration.getReturnType()
          Gets type specifier of this method.
 TypeName[] MethodDeclaration.getThrows()
          Gets throw type name list of this method.
 TypeName FieldAccess.getReferenceType()
           
 TypeName InstanceofExpression.getTypeSpecifier()
          Gets the type specifier of the right operand to be tested in this expression.
 TypeName ClassLiteral.getTypeName()
          Gets the type name of this class literal.
 TypeName MethodCall.getReferenceType()
           
 TypeName AllocationExpression.getClassType()
          Gets the class type of this constructor.
 TypeName Parameter.getTypeSpecifier()
          Gets the type specifier of this parameter.
 TypeName CastExpression.getTypeSpecifier()
          Gets the type specifier to cast in this expression.
static TypeName TypeName.forOJClass(OJClass clazz)
           
 TypeName[] ClassDeclaration.getBaseclasses()
          Gets the classes in 'extends' clause.
 TypeName ClassDeclaration.getBaseclass()
          Gets base classes in 'extends' clause.
 TypeName[] ClassDeclaration.getInterfaces()
          Gets interface name list
 

Methods in openjava.ptree with parameters of type TypeName
 void VariableDeclaration.setTypeSpecifier(TypeName tspec)
          Sets the type specifier of this variable declaration.
 void FieldDeclaration.setTypeSpecifier(TypeName tspec)
          Sets type specifier of this field variable.
 void ArrayAllocationExpression.setTypeName(TypeName typename)
          Sets the type name of the array.
 void ForStatement.setInitDecl(TypeName type_specifier, VariableDeclarator[] init)
          Sets the initialization part of this for-statement.
 void ConstructorDeclaration.setThrows(TypeName[] ctlist)
          Sets the class type list thrown by this constructor.
 void MethodDeclaration.setReturnType(TypeName tspec)
          Sets type specifier of this method.
 void MethodDeclaration.setThrows(TypeName[] thrwlist)
          Sets throw type name list of this method.
 void FieldAccess.setReferenceType(TypeName typename)
           
 void InstanceofExpression.setTypeSpecifier(TypeName tspec)
          Sets the type specifier of the right operand to be tested in this expression.
 void ClassLiteral.setTypeName(TypeName type)
          Sets the type name of this class literal.
 void MethodCall.setReferenceType(TypeName type)
           
 void AllocationExpression.setClassType(TypeName ctype)
          Sets the class type of this constructor.
 void Parameter.setTypeSpecifier(TypeName tspec)
          Sets the type specifier of this parameter.
 void CastExpression.setTypeSpecifier(TypeName tspec)
          Sets the type specifier to cast in this expression.
 void ClassDeclaration.setBaseclasses(TypeName[] ctypes)
          Sets super class name
 void ClassDeclaration.setBaseclass(TypeName ctype)
          Sets super class name
 void ClassDeclaration.setInterfaces(TypeName[] ctlist)
          Sets interface name list
 

Constructors in openjava.ptree with parameters of type TypeName
VariableDeclaration(ModifierList modifs, TypeName typespec, VariableDeclarator vdeclr)
          Allocates a new object.
VariableDeclaration(TypeName typespec, VariableDeclarator vdeclr)
          Allocates a new object.
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, VariableDeclarator e2)
          Allocates this object
FieldDeclaration(ModifierList e0, TypeName e1, java.lang.String e2, VariableInitializer e3)
           
ArrayAllocationExpression(TypeName typename, ExpressionList dimlist)
          Allocates a new ptree object.
ArrayAllocationExpression(TypeName typename, ExpressionList dimlist, ArrayInitializer ainit)
          Allocates a new ptree object.
ForStatement(TypeName tspec, VariableDeclarator[] vdecls, Expression expr, ExpressionList iterator, StatementList stmts)
           
ConstructorDeclaration(ModifierList modiflist, java.lang.String name, ParameterList params, TypeName[] throwlist, ConstructorInvocation scstmt, StatementList stmtlist)
          Constructs new ConstructorDeclaration from its elements.
ConstructorDeclaration(ModifierList modiflist, java.lang.String name, ParameterList params, TypeName[] throwlist, StatementList stmtlist)
          Constructs new ConstructorDeclaration from its elements.
MethodDeclaration(ModifierList modiflist, TypeName typespec, java.lang.String name, ParameterList params, TypeName[] throwlist, StatementList block)
          Constructs new MethodDeclaration from its elements.
FieldAccess(TypeName typename, java.lang.String name)
          An access to the specified static field of the type.
InstanceofExpression(Expression lexp, TypeName tspec)
          Allocates a new object.
ClassLiteral(TypeName type)
          Allocates a new object.
MethodCall(TypeName type, java.lang.String name, ExpressionList args)
          Allocates a new method call expression object.
AllocationExpression(Expression encloser, TypeName typename, ExpressionList args, MemberDeclarationList mdlst)
          Allocates a new object with the class body.
AllocationExpression(TypeName typename, ExpressionList args, MemberDeclarationList mdlst)
          Allocates a new object with the class body.
AllocationExpression(Expression encloser, TypeName typename, ExpressionList args)
          Allocates a new object with the class body.
AllocationExpression(TypeName ctype, ExpressionList args)
          Allocates a new object without class body.
Parameter(ModifierList modiflist, TypeName type_specifier, java.lang.String declname)
          Allocates a new object.
Parameter(TypeName type_specifier, java.lang.String declname)
          Allocates a new object.
CastExpression(TypeName ts, Expression expr)
          Allocates a new object.
ClassDeclaration(ModifierList modiflist, java.lang.String name, TypeName[] baseclasses, TypeName[] ifaces, MemberDeclarationList fieldlist)
          Constructs ClassDeclaration from its elements.
ClassDeclaration(ModifierList modiflist, java.lang.String name, TypeName[] baseclasses, TypeName[] ifaces, MemberDeclarationList fieldlist, boolean is_class)
           
 

Uses of TypeName in openjava.ptree.util
 

Methods in openjava.ptree.util that return TypeName
 TypeName EvaluationShuttle.evaluateDown(TypeName p)
           
 TypeName EvaluationShuttle.evaluateUp(TypeName p)
           
 TypeName ExpansionApplier.evaluateUp(TypeName p)
          Includes expandTypeName().
 

Methods in openjava.ptree.util with parameters of type TypeName
abstract  void ParseTreeVisitor.visit(TypeName p)
           
 TypeName EvaluationShuttle.evaluateDown(TypeName p)
           
 TypeName EvaluationShuttle.evaluateUp(TypeName p)
           
 void EvaluationShuttle.visit(TypeName p)
           
 void TypeNameQualifier.visit(TypeName tname)
           
 void SourceCodeWriter.visit(TypeName p)
          rough around innerclass
 TypeName ExpansionApplier.evaluateUp(TypeName p)
          Includes expandTypeName().
 

Uses of TypeName in openjava.syntax
 

Methods in openjava.syntax that return TypeName
 TypeName TypeNameRule.consumeTypeName(TokenSource token_src)
           
static TypeName JavaSyntaxRules.consumeTypeName(TokenSource token_src)
          Consumes a type name.