/openjdk7/jdk/src/share/classes/com/sun/beans/ |
H A D | TypeResolver.java | 211 * @param formals the array of types to resolve 214 public static Type[] resolve(Type actual, Type[] formals) { argument 215 int length = formals.length; 218 actuals[i] = resolve(actual, formals[i]); 298 TypeVariable<?>[] formals = raw.getTypeParameters(); 301 ? formals 304 assert formals.length == actuals.length; 305 for (int i = 0; i < formals.length; i++) { 306 map.put(formals[i], actuals[i]); 317 if (type instanceof Class<?> && formals [all...] |
/openjdk7/langtools/test/tools/javac/varargs/7042566/ |
H A D | T7042566.java | 296 List<TypeKind> formals = parameterTypes.typeKindList; 297 if ((actuals.size() - formals.size()) < -1) 300 if (!actual.isSubtypeOf(formals.head)) 302 formals = formals.tail.isEmpty() ? 303 formals : 304 formals.tail; 311 List<TypeKind> formals = that.parameterTypes.typeKindList; 313 int expectedCheck = Math.max(actuals.size(), formals.size()); 315 if (!actuals.head.isSubtypeOf(formals [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/ |
H A D | Infer.java | 354 List<Type> formals = tvars; 359 wt.bound = (TypeVar)formals.head; 361 formals = formals.tail; 379 List<Type> formals = mt.argtypes; 387 Type varargsFormal = useVarargs ? formals.last() : null; 389 actuals.size() != formals.size()) { 393 while (actuals.nonEmpty() && formals.head != varargsFormal) { 394 Type formal = formals.head; 408 formals 567 checkArgumentsAcceptable(Env<AttrContext> env, List<Type> actuals, List<Type> formals, boolean allowBoxing, boolean useVarargs, Warner warn) argument [all...] |
H A D | Resolve.java | 356 List<Type> formals = pmt.tvars; 358 while (formals.nonEmpty() && actuals.nonEmpty()) { 359 List<Type> bounds = types.subst(types.getBounds((TypeVar)formals.head), 364 formals = formals.tail; 423 List<Type> formals, 428 checkRawArgumentsAcceptable(env, argtypes, formals, allowBoxing, useVarargs, warn); 436 List<Type> formals, 440 Type varargsFormal = useVarargs ? formals.last() : null; 442 argtypes.size() != formals 421 argumentsAcceptable(Env<AttrContext> env, List<Type> argtypes, List<Type> formals, boolean allowBoxing, boolean useVarargs, Warner warn) argument 434 checkRawArgumentsAcceptable(Env<AttrContext> env, List<Type> argtypes, List<Type> formals, boolean allowBoxing, boolean useVarargs, Warner warn) argument [all...] |
H A D | TransTypes.java | 763 List<Type> formals = st.tsym.type.allparams(); 764 while (!actuals.isEmpty() && !formals.isEmpty()) { 766 Type formal = formals.head; 773 formals = formals.tail;
|
H A D | Attr.java | 2768 List<Type> formals = owntype.getParameterTypes(); 2769 Type last = useVarargs ? formals.last() : null; 2772 formals = formals.tail.tail; 2774 while (formals.head != last) { 2776 Warner warn = chk.convertWarner(arg.pos(), arg.type, formals.head); 2777 assertConvertible(arg, arg.type, formals.head, warn); 2780 formals = formals.tail; 2891 List<Type> formals [all...] |
H A D | Check.java | 772 List<Type> formals = type.tsym.type.allparams(); 785 bounds_buf.append(types.subst(forms.head.getUpperBound(), formals, actuals)); 791 List<Type> tvars_cap = types.substBounds(formals, 792 formals,
|
H A D | Lower.java | 3106 List<Type> formals = tree.operator.type.getParameterTypes(); 3107 JCTree lhs = tree.lhs = translate(tree.lhs, formals.head); 3115 result = translate(tree.rhs, formals.tail.head); 3125 result = translate(tree.rhs, formals.tail.head); 3130 tree.rhs = translate(tree.rhs, formals.tail.head);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/nav/ |
H A D | ParameterizedTypeImpl.java | 57 TypeVariable/*<?>*/[] formals = rawType.getTypeParameters(); 59 if (formals.length != actualTypeArguments.length) { 63 // check actuals against formals' bounds
|
/openjdk7/jdk/src/share/classes/sun/reflect/generics/reflectiveObjects/ |
H A D | ParameterizedTypeImpl.java | 57 TypeVariable/*<?>*/[] formals = rawType.getTypeParameters(); 59 if (formals.length != actualTypeArguments.length){ 63 // check actuals against formals' bounds
|
/openjdk7/jdk/src/share/classes/java/lang/invoke/ |
H A D | LambdaForm.java | 150 Name[] formals, Name[] temps, Name result) { 152 formals.length, buildNames(formals, temps, result), LAST_RESULT); 155 private static Name[] buildNames(Name[] formals, Name[] temps, Name result) { argument 156 int arity = formals.length; 158 Name[] names = Arrays.copyOf(formals, length); 149 LambdaForm(String debugName, Name[] formals, Name[] temps, Name result) argument
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/ |
H A D | Types.java | 1254 * Returns the lower bounds of the formals of a method. 1771 List<Type> formals = t.tsym.type.allparams(); 1774 } else if (formals.nonEmpty()) { 1775 t.supertype_field = subst(supertype, formals, actuals); 1852 List<Type> formals = t.tsym.type.allparams(); 1855 } else if (formals.nonEmpty()) { 1857 upperBounds(subst(interfaces, formals, actuals));
|