All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class epp.ClassType

java.lang.Object
   |
   +----epp.Type
           |
           +----epp.ClassType

public class ClassType
extends Type
The ClassType class is a Type of type :class.

Usually, the instance of ClassType is generated only by ClassTypeTable. Plug-in programmers must not directly generate an instance of ClassType using new. Otherwise, dependencies between files may not be processed correctly.

ClassType holds an instance of ClassInfo. Detail information of the class is held in ClassInfo. The instance of ClassInfo is generated lazily when the classInfo method is called for the first time. Interdependence between classes can be handled due to this mechanism.

If ClassInfo is required before ClassInfo is generated completely, EppUserError will be thrown. For example, if you have a super class handle a class that specifies itself, this error will occur.

See Also:
Type, ClassTypeTable, ClassInfo

Constructor Index

 o ClassType(Symbol)

Method Index

 o classInfo()
Returns ClassInfo if this type is :class type.
 o toString()
 o toTree()
Returns a tree that describes this type in a program.

Constructors

 o ClassType
 public ClassType(Symbol fullName)

Methods

 o classInfo
 public ClassInfo classInfo()
Returns ClassInfo if this type is :class type.

Overrides:
classInfo in class Type
 o toTree
 public Tree toTree()
Returns a tree that describes this type in a program.

Overrides:
toTree in class Type
 o toString
 public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index