Searched refs:formals (Results 1 - 12 of 12) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/beans/
H A DTypeResolver.java211 * @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 DT7042566.java296 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 DInfer.java354 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 DResolve.java356 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 DTransTypes.java763 List<Type> formals = st.tsym.type.allparams();
764 while (!actuals.isEmpty() && !formals.isEmpty()) {
766 Type formal = formals.head;
773 formals = formals.tail;
H A DAttr.java2768 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 DCheck.java772 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 DLower.java3106 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 DParameterizedTypeImpl.java57 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 DParameterizedTypeImpl.java57 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 DLambdaForm.java150 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 DTypes.java1254 * 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));

Completed in 90 milliseconds