Searched refs:getEnclosingType (Results 1 - 20 of 20) sorted by relevance

/openjdk7/langtools/src/share/classes/javax/lang/model/type/
H A DDeclaredType.java85 TypeMirror getEnclosingType(); method in interface:DeclaredType
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DParameterizedTypeImpl.java93 if (type.getEnclosingType().tag == CLASS) {
95 return TypeMaker.getType(env, type.getEnclosingType());
132 if (cl.getEnclosingType().tag != CLASS) { // if not an inner class...
135 ClassType encl = (ClassType)cl.getEnclosingType();
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/type/
H A DDeclaredTypeImpl.java74 if (type.getEnclosingType().tag == TypeTags.CLASS) {
76 return (DeclaredType) env.typeMaker.getType(type.getEnclosingType());
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DType.java284 public Type getEnclosingType() { return null; } method in class:Type
588 return new ClassType(getEnclosingType(), typarams_field, tsym) {
604 if (getEnclosingType().tag == CLASS && tsym.owner.kind == TYP) {
605 buf.append(getEnclosingType().toString());
662 public Type getEnclosingType() { method in class:Type.ClassType
672 allparams_field = getTypeArguments().prependList(getEnclosingType().allparams());
679 getEnclosingType().isErroneous() ||
705 Type outer = getEnclosingType();
717 && (getEnclosingType().contains(elem) || contains(getTypeArguments(), elem)))
1102 public Type getEnclosingType() { retur method in class:Type.DelegatedType
1323 public Type getEnclosingType() { return this; } method in class:Type.ErrorType
[all...]
H A DPrinter.java185 if (t.getEnclosingType().tag == CLASS && t.tsym.owner.kind == Kinds.TYP) {
186 buf.append(visit(t.getEnclosingType(), locale));
H A DTypes.java484 && isSubtypeNoCapture(sup.getEnclosingType(),
485 s.getEnclosingType());
684 && visit(t.getEnclosingType(), s.getEnclosingType())
1461 t = t.getEnclosingType();
1488 Type outer = t.getEnclosingType();
1651 erased = new ErasedClassType(erased.getEnclosingType(),erased.tsym);
1976 Type outer1 = classBound(t.getEnclosingType());
1977 if (outer1 != t.getEnclosingType())
2314 Type outer = t.getEnclosingType();
[all...]
H A DAttribute.java116 return new Type.ClassType(types.syms.classType.getEnclosingType(),
H A DSymbol.java185 Type outerThisType = types.erasure(owner.type.getEnclosingType());
264 return type.getEnclosingType().tag == CLASS;
277 type.getEnclosingType().tag == CLASS && (flags() & (INTERFACE | NOOUTERTHIS)) == 0;
780 erasure_field = new ClassType(types.erasure(type.getEnclosingType()),
/openjdk7/langtools/test/tools/javac/processing/model/type/
H A DNoTypes.java60 verifyKind(NONE, ((DeclaredType)object.asType()).getEnclosingType());
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/util/
H A DTypesImpl.java185 if (sym.type.getEnclosingType().isParameterized())
188 return getDeclaredType(sym.type.getEnclosingType(), sym, typeArgs);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/model/
H A DJavacTypes.java218 if (sym.type.getEnclosingType().isParameterized())
221 return getDeclaredType0(sym.type.getEnclosingType(), sym, typeArgs);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DRichDiagnosticFormatter.java298 while (s2.type.getEnclosingType().tag == CLASS
519 if (t.getEnclosingType() != Type.noType)
520 visit(t.getEnclosingType());
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DClassReader.java723 public Type getEnclosingType() {
727 Type enclosingType = tsym.type.getEnclosingType();
730 super.getEnclosingType().allparams();
745 return super.getEnclosingType();
1874 if (t.getEnclosingType() != null && t.getEnclosingType().tag == CLASS)
1875 enterTypevars(t.getEnclosingType());
1899 if (ct.getEnclosingType().tag == CLASS)
1900 enterTypevars(ct.getEnclosingType());
H A DClassWriter.java373 Type outer = ct.getEnclosingType();
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DAttr.java1456 Type encl = site.getEnclosingType();
1545 ClassType(restype.getEnclosingType(),
1650 clazztype.getEnclosingType().tag == CLASS) {
1864 ClassType ct = new ClassType(clazztype.getEnclosingType(),
1921 Type synthRestype = new ClassType(ctype.getEnclosingType(),
2409 t = new ClassType(t.getEnclosingType(), typeargs, t.tsym);
2452 t = new ClassType(t.getEnclosingType(), List.of(arg), t.tsym);
2501 Type ownOuter = owntype.getEnclosingType();
2904 Type clazzOuter = clazztype.getEnclosingType();
H A DResolve.java194 return (checkInner == false || c.type.getEnclosingType() == Type.noType) ?
196 isAccessible && isAccessible(env, c.type.getEnclosingType(), checkInner);
1156 sym.type.getEnclosingType().tag == CLASS &&
1158 sym.type.getEnclosingType().isParameterized())
1800 ? resolveSelf(pos, env, t.getEnclosingType().tsym, names._this)
H A DLower.java1368 Type t = type.getEnclosingType();
1371 t = t.getEnclosingType();
1389 Type target = types.erasure(owner.enclClass().type.getEnclosingType());
2674 thisArg = makeThis(tree.pos(), c.type.getEnclosingType().tsym);
2826 thisArg = makeThis(tree.meth.pos(), c.type.getEnclosingType().tsym);
H A DMemberEnter.java906 interfaceTrees.prepend(make.Type(new ClassType(syms.comparableType.getEnclosingType(),
H A DCheck.java1096 if (tree.type.getEnclosingType().isRaw())
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/tree/
H A DTreeMaker.java631 Type outer = t.getEnclosingType();

Completed in 137 milliseconds