Save This Page
Home » openjdk-7 » » javac » code » [javadoc | source]
public static class: Type.TypeVar [javadoc | source]

All Implemented Interfaces:
    TypeVariable, PrimitiveType

Direct Known Subclasses:

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
noType,  moreInfo,  tag,  tsym
 public TypeVar(Name name,
    Symbol owner,
    Type lower) 
 public TypeVar(TypeSymbol tsym,
    Type bound,
    Type lower) 
Method from$TypeVar Summary:
accept,   accept,   getKind,   getLowerBound,   getUpperBound,   isCaptured
Methods from
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$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()