Save This Page
Home » openjdk-7 » com.sun.tools » javac » code » [javadoc | source]
com.sun.tools.javac.code
public static class: Type.ClassType [javadoc | source]
java.lang.Object
   com.sun.tools.javac.code.Type
      com.sun.tools.javac.code.Type$ClassType

All Implemented Interfaces:
    DeclaredType, PrimitiveType

Direct Known Subclasses:
    ErasedClassType, UnionClassType, ErrorType

Field Summary
public  List<Type> typarams_field    The type parameters of this type (to be set once class is loaded). 
public  List<Type> allparams_field    A cache variable for the type parameters of this type, appended to all parameters of its enclosing class. 
public  Type supertype_field    The supertype of this class (to be set once class is loaded). 
public  List<Type> interfaces_field    The interfaces of this class (to be set once class is loaded). 
public  List<Type> all_interfaces_field    All the interfaces of this class, including missing ones. 
 int rank_field    A cache for the rank. 
Fields inherited from com.sun.tools.javac.code.Type:
noType,  moreInfo,  tag,  tsym
Constructor:
 public ClassType(Type outer,
    List<Type> typarams,
    TypeSymbol tsym) 
Method from com.sun.tools.javac.code.Type$ClassType Summary:
accept,   accept,   allparams,   complete,   constType,   contains,   getEnclosingType,   getKind,   getTypeArguments,   hasErasedSupertypes,   isErroneous,   isParameterized,   isRaw,   map,   setEnclosingType,   toString
Methods from com.sun.tools.javac.code.Type:
accept,   accept,   allparams,   argtypes,   asElement,   asMethodType,   baseType,   baseTypes,   complete,   constType,   constValue,   contains,   contains,   containsAny,   containsAny,   equals,   filter,   getEnclosingType,   getKind,   getLowerBound,   getModelType,   getModelTypes,   getParameterTypes,   getReturnType,   getThrownTypes,   getTypeArguments,   getUpperBound,   hashCode,   isCompound,   isErroneous,   isErroneous,   isExtendsBound,   isFalse,   isFinal,   isInterface,   isParameterized,   isPrimitive,   isRaw,   isSuperBound,   isTrue,   isUnbound,   map,   map,   stringValue,   toString,   toString,   withTypeVar
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.tools.javac.code.Type$ClassType Detail:
 public R accept(Visitor<R, S> v,
    S s) 
 public R accept(TypeVisitor<R, P> v,
    P p) 
 public List<Type> allparams() 
 public  void complete() 
 public Type constType(Object constValue) 
 public boolean contains(Type elem) 
 public Type getEnclosingType() 
 public TypeKind getKind() 
 public List<Type> getTypeArguments() 
 public boolean hasErasedSupertypes() 
 public boolean isErroneous() 
 public boolean isParameterized() 
 public boolean isRaw() 
    A class type is raw if it misses some of its type parameter sections. After validation, this is equivalent to: allparams.isEmpty() && tsym.type.allparams.nonEmpty();
 public Type map(Mapping f) 
 public  void setEnclosingType(Type outer) 
 public String toString() 
    The Java source which this type represents.