/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/ |
H A D | TypeVariableImpl.java | 36 import com.sun.tools.javac.code.Type.TypeVar; 50 TypeVariableImpl(DocEnv env, TypeVar type) { 58 return TypeMaker.getTypes(env, getBounds((TypeVar)type, env)); 93 return typeVarToString(env, (TypeVar)type, true); 101 static String typeVarToString(DocEnv env, TypeVar v, boolean full) { 118 private static List<Type> getBounds(TypeVar v, DocEnv env) {
|
H A D | TypeMaker.java | 34 import com.sun.tools.javac.code.Type.TypeVar; 67 case TYPEVAR: return new TypeVariableImpl(env, (TypeVar)t); 162 s.append(TypeVariableImpl.typeVarToString(env, (TypeVar)t, full));
|
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/declaration/ |
H A D | TypeParameterDeclarationImpl.java | 61 return toString(env, (Type.TypeVar) sym.type); 69 for (Type t : env.jctypes.getBounds((Type.TypeVar) sym.type)) { 99 static String toString(AptEnv env, Type.TypeVar tv) { 116 Type.TypeVar tv) {
|
H A D | MemberDeclarationImpl.java | 104 Type.TypeVar tv = (Type.TypeVar) t;
|
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/type/ |
H A D | TypeVariableImpl.java | 46 protected Type.TypeVar type; 49 TypeVariableImpl(AptEnv env, Type.TypeVar type) {
|
H A D | TypeMaker.java | 91 case TYPEVAR: return new TypeVariableImpl(env, (Type.TypeVar) t);
|
/openjdk7/langtools/test/tools/apt/mirror/type/ |
H A D | TypeVar.java | 30 * @compile -source 1.5 TypeVar.java 31 * @run main/othervm TypeVar 41 public class TypeVar<T, S extends Number & Runnable> extends Tester { class in inherits:Tester 44 (new TypeVar()).run();
|
/openjdk7/langtools/test/tools/javac/types/ |
H A D | TypeHarness.java | 307 public TypeVar TypeVariable() { 311 public TypeVar TypeVariable(Type bound) { 313 tvsym.type = new TypeVar(tvsym, bound, null); 314 return (TypeVar)tvsym.type;
|
H A D | GenericTypeWellFormednessTest.java | 139 TypeVar tvar = fac.TypeVariable(); 198 TypeVar tv4 = fac.TypeVariable(); 203 TypeVar tv5 = fac.TypeVariable(); 207 TypeVar tv6 = fac.TypeVariable(); 211 TypeVar tv7 = fac.TypeVariable();
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/ |
H A D | Type.java | 55 * type variables (tag: TYPEVAR, class: TypeVar), 438 public TypeVar bound; 450 public WildcardType(WildcardType t, TypeVar bound) { 454 public WildcardType(Type type, BoundKind kind, TypeSymbol tsym, TypeVar bound) { 479 bound = (TypeVar)t; 954 public List<TypeVar> getTypeVariables() { 995 public static class TypeVar extends Type implements TypeVariable { class in class:Type 1016 public TypeVar(Name name, Symbol owner, Type lower) { method in class:Type.TypeVar 1022 public TypeVar(TypeSymbol tsym, Type bound, Type lower) { method in class:Type.TypeVar 1057 * both upper and lower bound. CapturedType extends TypeVar wit [all...] |
H A D | Types.java | 191 (TypeVar)parms.head); 255 qs.append(new WildcardType(syms.objectType, BoundKind.UNBOUND, syms.boundClass, (TypeVar) iter.head)); 920 if (s.tag != TYPEVAR || !((TypeVar)s).isCaptured()) 1137 public Boolean visitTypeVar(TypeVar t, Type s) { 1278 TypeVar tv = (TypeVar) t; 1332 public Boolean visitTypeVar(TypeVar t, Void ignored) { 1435 public Type visitTypeVar(TypeVar t, Symbol sym) { 1557 public Type visitTypeVar(TypeVar t, Symbol sym) { 1657 public Type visitTypeVar(TypeVar [all...] |
H A D | Printer.java | 226 public String visitTypeVar(TypeVar t, Locale locale) {
|
H A D | Symbol.java | 608 TypeVar t = (TypeVar)type;
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/ |
H A D | Infer.java | 227 List<Type> bounds = types.getBounds((TypeVar)t); 310 TypeVar tv = (TypeVar)uv.qtype; 359 wt.bound = (TypeVar)formals.head; 476 List<Type> getConstraints(TypeVar tv, ConstraintKind ck) { 548 abstract List<Type> getConstraints(TypeVar tv, ConstraintKind ck); 561 public List<Type> getConstraints(TypeVar tv, ConstraintKind ck) { 610 List<Type> bounds = types.subst(types.getBounds((TypeVar)tvs.head), tvars, arguments);
|
H A D | Enter.java | 448 TypeVar a = (tree.type != null) 449 ? (TypeVar)tree.type 450 : new TypeVar(tree.name, env.info.scope.owner, syms.botType);
|
H A D | MemberEnter.java | 1190 TypeVar v = new TypeVar(names.fromString("T"), sym, syms.botType); 1194 TypeVar v = new TypeVar(names.fromString("T" + i), sym, syms.botType);
|
H A D | Check.java | 796 args.head.withTypeVar((TypeVar)tvars_cap.head); 841 public Boolean visitTypeVar(TypeVar t, Void s) { 1948 void checkNonCyclic(DiagnosticPosition pos, TypeVar t) { 1949 checkNonCyclic1(pos, t, List.<TypeVar>nil()); 1952 private void checkNonCyclic1(DiagnosticPosition pos, Type t, List<TypeVar> seen) { 1953 final TypeVar tv; 1957 tv = (TypeVar)t; 1961 tv = (TypeVar)t;
|
H A D | Attr.java | 535 TypeVar a = (TypeVar)tvar.type; 551 chk.checkNonCyclic(tvar.pos(), (TypeVar)tvar.type); 2979 TypeVar a = (TypeVar)tree.type; 3017 // (see comment for TypeVar.bound).
|
H A D | Resolve.java | 359 List<Type> bounds = types.subst(types.getBounds((TypeVar)formals.head),
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | RichDiagnosticFormatter.java | 226 private boolean unique(TypeVar typevar) { 383 public String visitTypeVar(TypeVar t, Locale locale) { 525 public Void visitTypeVar(TypeVar t, Void ignored) {
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/tree/ |
H A D | TreeMaker.java | 795 public JCTypeParameter TypeParam(Name name, TypeVar tvar) { 806 tparams.append(TypeParam(l.head.tsym.name, (TypeVar)l.head));
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/ |
H A D | ClassReader.java | 837 TypeVar tvar; 839 tvar = new TypeVar(name, currentOwner, syms.botType); 842 tvar = (TypeVar)findTypeVar(name); 878 TypeVar t = new TypeVar(name, currentOwner, syms.botType);
|
H A D | ClassWriter.java | 405 TypeVar tvar = (TypeVar)ts.head;
|