Searched refs:erasure (Results 1 - 25 of 57) sorted by relevance

123

/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DTransTypes.java96 * type erasure.
142 * Since the erasure of Cell.value is Object, but the type
150 * @param erasedType The expression's type after erasure.
151 * @param target The target type, which is usually the erasure of the
158 target = erasure(tree.type);
169 * @param varargsElement The erasure of the varargs element type,
205 * erasure clashes.
216 Type origErasure = erasure(origType);
219 Type bridgeType = meth.erasure(types);
232 ? make.This(origin.erasure(type
377 isSameMemberWhenErased(Type type, MethodSymbol method, Type erasure) argument
755 private Type erasure(Type t) { method in class:TransTypes
[all...]
H A DLower.java930 argtypes = List.of(vsym.erasure(types));
933 restype = vsym.erasure(types);
938 argtypes = vsym.erasure(types).getParameterTypes();
939 restype = vsym.erasure(types).getReturnType();
955 argtypes = argtypes.prepend(vsym.owner.erasure(types));
1174 accessConstructorTag().erasure(types)),
1355 flags, proxyName(v.name), v.erasure(types), owner);
1389 Type target = types.erasure(owner.enclClass().type.getEnclosingType());
1421 return make.at(pos).This(c.erasure(types));
1634 return make.at(pos).This(c.erasure(type
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DJClass.java146 public JClass erasure() { method in class:JClass
207 if( this.erasure().equals(baseType) )
291 return erasure()!=this;
H A DJType.java136 * Returns the erasure of this type.
138 public JType erasure() { method in class:JType
H A DJFormatter.java427 clazz = clazz.erasure();
447 clazz = clazz.erasure();
H A DJNarrowedClass.java172 public JClass erasure() { method in class:JNarrowedClass
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DWildcardTypeImpl.java68 * Return the ClassDoc of the erasure of this wildcard type.
72 return env.getClassDoc((ClassSymbol)env.types.erasure(type).tsym);
101 return TypeMaker.getTypeName(env.types.erasure(wildThing), full);
H A DTypeVariableImpl.java79 * Return the ClassDoc of the erasure of this type variable.
83 return env.getClassDoc((ClassSymbol)env.types.erasure(type).tsym);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/
H A DArrayProperty.java52 Navigator.REFLECTION.erasure(prop.getRawType()),prop.id(),prop.getAdapter());
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/type/
H A DDeclaredTypeImpl.java84 env.jctypes.erasure(enclosing.type));
/openjdk7/langtools/src/share/classes/javax/lang/model/util/
H A DTypes.java134 * Returns the erasure of a type.
137 * @return the erasure of the given type
141 TypeMirror erasure(TypeMirror t); method in interface:Types
/openjdk7/langtools/test/tools/javac/processing/model/util/
H A DTypesBadArg.java75 types.erasure(javaLang);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DCode.java486 types.erasure(types.elemtype(a));
987 state.push(((Symbol)(pool.pool[od])).erasure(types));
990 state.pop(((Symbol)(pool.pool[od])).erasure(types));
993 state.push(uninitializedObject(((Symbol)(pool.pool[od])).erasure(types), cp-3));
1022 state.pop(((Symbol)(pool.pool[od])).erasure(types));
1027 state.push(((Symbol)(pool.pool[od])).erasure(types));
1033 ? ((Symbol)o).erasure(types)
1034 : types.erasure(((Type)o));
1228 nextLocal = i + width(lvar[i].sym.erasure(types));
1261 vtype = types.erasure(vtyp
[all...]
H A DItems.java124 return new LocalItem(v.erasure(types), v.adr);
435 super(Code.typecode(member.erasure(types)));
449 MethodType mtype = (MethodType)member.erasure(types);
473 super(Code.typecode(member.erasure(types)));
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DSymbol.java110 /** A cache for the type erasure of this symbol.
172 public Type erasure(Types types) { method in class:Symbol
174 erasure_field = types.erasure(type);
183 Type t = erasure(types);
185 Type outerThisType = types.erasure(owner.type.getEnclosingType());
481 public Type erasure(Types types) { return other.erasure(types); } method in class:Symbol.DelegatedSymbol
617 // In this case, supertype is Object, erasure is first interface.
778 public Type erasure(Types types) { method in class:Symbol.ClassSymbol
780 erasure_field = new ClassType(types.erasure(typ
[all...]
H A DTypes.java249 res = erasure(res);
1036 if ((upcast = isSubtype(erasure(t), erasure(s)))
1037 || isSubtype(erasure(s), erasure(t))) {
1546 return erasure(sym.type);
1613 // <editor-fold defaultstate="collapsed" desc="erasure">
1615 * The erasure of t {@code |t|} -- the type that results when all
1618 public Type erasure(Type t) { method in class:Types
1619 return eraseNotNeeded(t)? t : erasure(
1627 private Type erasure(Type t, boolean recurse) { method in class:Types
1634 private SimpleVisitor<Type, Boolean> erasure = new SimpleVisitor<Type, Boolean>() { field in class:Types
1675 public List<Type> erasure(List<Type> ts) { method in class:Types
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/model/
H A DJavacTypes.java121 public TypeMirror erasure(TypeMirror t) { method in class:JavacTypes
124 return types.erasure((Type) t);
217 return (DeclaredType) sym.erasure(types);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/impl/s2j/
H A DElementAdapter.java127 .arg(getRawType().boxify().erasure().dotclass())
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/nav/
H A DNavigator.java320 * Computes the erasure
322 <P> T erasure(T contentInMemoryType); method in interface:Navigator
323 // This unused P is necessary to make ReflectionNavigator.erasure work nicely
H A DReflectionNavigator.java322 return erasure(sup).isAssignableFrom(erasure(sub));
334 return erasure(t);
341 * Implements the logic for {@link #erasure(Type)}.
372 * This corresponds to the notion of the erasure in JSR-14.
384 public <T> Class<T> erasure(Type t) { method in class:ReflectionNavigator
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/declaration/
H A DAnnotationValueImpl.java94 env.jctypes.erasure(c.type));
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/util/
H A DTypesImpl.java91 env.jctypes.erasure(((TypeMirrorImpl) t).type));
184 env.jctypes.erasure(sym.type));
/openjdk7/langtools/src/share/classes/com/sun/tools/javah/
H A DJNI.java85 TypeMirror mtr = types.erasure(md.getReturnType());
113 args.add(types.erasure(p.asType()));
H A DLLNI.java152 TypeMirror t = types.erasure(field.asType());
165 TypeMirror retType = types.erasure(method.getReturnType());
338 TypeMirror mt = types.erasure(member.asType());
443 TypeMirror retType = types.erasure(method.getReturnType());
458 argTypes.add(types.erasure(p.asType()));
489 TypeMirror mType = types.erasure(method.getReturnType());
493 argTypes.add(types.erasure(param.asType()));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/
H A DRuntimeElementInfoImpl.java125 return Navigator.REFLECTION.erasure(super.getType());

Completed in 87 milliseconds

123