Searched defs:formal (Results 1 - 4 of 4) sorted by relevance
/openjdk7/jdk/src/share/classes/sun/tracing/ |
H A D | ProbeSkeleton.java | 56 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 D | TypeResolver.java | 100 * 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/code/ |
H A D | Types.java | 3172 * 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/comp/ |
H A D | Attr.java | 1517 // 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);
|
Completed in 1383 milliseconds