Searched refs:formal (Results 1 - 7 of 7) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/tracing/
H A DProbeSkeleton.java56 private static boolean isAssignable(Object o, Class<?> formal) { argument
58 if ( !formal.isInstance(o) ) {
59 if ( formal.isPrimitive() ) { // o might be a boxed primitive
63 return formal.isAssignableFrom((Class<?>)f.get(null));
/openjdk7/jdk/src/share/classes/com/sun/beans/
H A DTypeResolver.java100 * Replaces type variables of the given {@code formal} type
134 * StringToIntMap.class and {@code formal} being the K from Map,
152 * @param formal the type where occurrences of the variables
156 public static Type resolve(Type actual, Type formal) { argument
157 if (formal instanceof Class) {
158 return formal;
160 if (formal instanceof GenericArrayType) {
161 Type comp = ((GenericArrayType) formal).getGenericComponentType();
167 if (formal instanceof ParameterizedType) {
168 ParameterizedType fpt = (ParameterizedType) formal;
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DInfer.java394 Type formal = formals.head;
398 actual = instantiateArg((ForAll)actual, formal, tvars, warn);
399 Type undetFormal = types.subst(formal, tvars, undetvars);
406 tvars, actualNoCapture, formal);
H A DAttr.java1517 // whose formal argument types is exactly the list of actual
2838 private void assertConvertible(JCTree tree, Type actual, Type formal, Warner warn) { argument
2839 if (types.isConvertible(actual, formal, warn))
2842 if (formal.isCompound()
2843 && types.isSubtype(actual, types.supertype(formal))
2844 && types.isSubtypeUnchecked(actual, types.interfaces(formal), warn))
2849 chk.typeError(tree.pos(), diags.fragment("incompatible.types"), actual, formal);
2852 + " formal: " + formal);
H A DTransTypes.java766 Type formal = formals.head;
769 types.erasure(formal)))
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DTypes.java3172 * Let G name a generic type declaration with n formal type
3618 private Type rewriteAsWildcardType(Type bound, TypeVar formal) { argument
3620 makeExtendsWildcard(B(bound), formal) :
3621 makeSuperWildcard(B(bound), formal);
3644 * @param formal the formal type parameter that will be
3647 private WildcardType makeExtendsWildcard(Type bound, TypeVar formal) { argument
3652 formal);
3657 formal);
3666 * @param formal th
3669 makeSuperWildcard(Type bound, TypeVar formal) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DJavacParser.java1880 JCVariableDecl formal = variableDeclaratorId(mods, paramType);
1883 return F.at(pos).Catch(formal, body);

Completed in 810 milliseconds