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

All Implemented Interfaces:
    TypeVariable, PrimitiveType

Direct Known Subclasses:
    CapturedType

Field Summary
public  Type bound    The upper bound of this type variable; set from outside. Must be nonempty once it is set. For a bound, `bound' is the bound type itself. Multiple bounds are expressed as a single class type which has the individual bounds as superclass, respectively interfaces. The class type then has as `tsym' a compiler generated class `c', which has a flag COMPOUND and whose owner is the type variable itself. Furthermore, the erasure_field of the class points to the first class or interface bound. 
public  Type lower    The lower bound of this type variable. TypeVars don't normally have a lower bound, so it is normally set to syms.botType. Subtypes, such as CapturedType, may provide a different value. 
 int rank_field     
Fields inherited from com.sun.tools.javac.code.Type:
noType,  moreInfo,  tag,  tsym
Constructor:
 public TypeVar(Name name,
    Symbol owner,
    Type lower) 
 public TypeVar(TypeSymbol tsym,
    Type bound,
    Type lower) 
Method from com.sun.tools.javac.code.Type$TypeVar Summary:
accept,   accept,   getKind,   getLowerBound,   getUpperBound,   isCaptured
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$TypeVar Detail:
 public R accept(Visitor<R, S> v,
    S s) 
 public R accept(TypeVisitor<R, P> v,
    P p) 
 public TypeKind getKind() 
 public Type getLowerBound() 
 public Type getUpperBound() 
 public boolean isCaptured()