Lines Matching refs:hasTag

132         if (t.hasTag(WILDCARD)) {  in wildUpperBound()
147 if (t.hasTag(TYPEVAR)) { in cvarUpperBound()
159 if (t.hasTag(WILDCARD)) { in wildLowerBound()
171 if (t.hasTag(TYPEVAR) && ((TypeVar) t).isCaptured()) { in cvarLowerBound()
183 while (site.hasTag(TYPEVAR)) { in skipTypeVars()
262 if (t2.hasTag(BOT)) { in visitClassType()
286 } else if (elemtype1.hasTag(BOT)) { in visitArrayType()
365 } else if (!lower.hasTag(BOT)) {
383 if (bound.hasTag(BOT)) {
389 if (bound.hasTag(BOT)) {
599 if (t.hasTag(ERROR)) {
607 boolean tUndet = t.hasTag(UNDETVAR);
608 boolean sUndet = s.hasTag(UNDETVAR);
850 if (site.getTypeArguments().stream().anyMatch(t -> t.hasTag(WILDCARD))) {
858 if (actuals.head.hasTag(WILDCARD)) {
1014 if (t.hasTag(ARRAY) && s.hasTag(ARRAY)) {
1022 } else if (t.hasTag(TYPEVAR)) {
1039 if (!t.hasTag(ARRAY) || isReifiable(t)) {
1087 if (!t.hasTag(UNDETVAR) && !t.isCompound()) {
1090 if (s != lower && !lower.hasTag(BOT))
1103 return (!s.hasTag(CHAR) && t.getTag().isSubRangeOf(s.getTag()));
1105 return (!s.hasTag(SHORT) && t.getTag().isSubRangeOf(s.getTag()));
1110 return t.hasTag(s.getTag());
1115 s.hasTag(BOT) || s.hasTag(CLASS) ||
1116 s.hasTag(ARRAY) || s.hasTag(TYPEVAR);
1180 if (!sup.hasTag(CLASS)) return isSubtypeNoCapture(sup, s);
1190 if (s.hasTag(ARRAY)) {
1197 if (s.hasTag(CLASS)) {
1210 if (t == s || t.qtype == s || s.hasTag(ERROR) || s.hasTag(UNKNOWN)) {
1212 } else if (s.hasTag(BOT)) {
1284 s.hasTag(ERROR) ||
1285 s.hasTag(BOT)) {
1326 argtypes.head.hasTag(TypeTag.ARRAY) &&
1354 return t.hasTag(s.getTag());
1356 if (s.hasTag(TYPEVAR)) {
1376 if (!s.hasTag(WILDCARD)) {
1429 return s.hasTag(ARRAY)
1447 if (!s.hasTag(FORALL)) {
1458 if (s.hasTag(WILDCARD)) {
1463 if (t == s || t.qtype == s || s.hasTag(ERROR) || s.hasTag(UNKNOWN)) {
1484 if (s.hasTag(WILDCARD)) {
1588 if (!s.hasTag(WILDCARD)) {
1602 if (!s.hasTag(TYPEVAR) || !((TypeVar)s).isCaptured())
1608 if (!s.hasTag(WILDCARD))
1659 if (s.hasTag(ERROR) || t.hasTag(NONE))
1667 return s.hasTag(BOOLEAN);
1684 if (s.hasTag(ERROR) || s.hasTag(BOT))
1687 if (s.hasTag(TYPEVAR)) {
1702 if (s.hasTag(CLASS) || s.hasTag(ARRAY)) {
1706 if (!upcast && s.hasTag(ARRAY)) {
1759 if (s.hasTag(CLASS)) {
1806 return elemtype(t).hasTag(elemtype(s).getTag());
1871 if (s.hasTag(WILDCARD))
1908 if (!s.hasTag(WILDCARD)) {
1955 if (t.hasTag(TYPEVAR)) {
1961 if (!s.hasTag(WILDCARD))
1968 return (t.hasTag(TYPEVAR)) ?
2015 while (t.hasTag(WILDCARD))
2017 return t.hasTag(ARRAY);
2065 while (t.hasTag(ARRAY)) {
2079 if (t.hasTag(VOID) || t.hasTag(PACKAGE)) {
2126 if (st.hasTag(CLASS) || st.hasTag(TYPEVAR)) {
2133 if (!l.head.hasTag(ERROR)) {
2176 } while (t.hasTag(CLASS));
2203 t = (outer.hasTag(CLASS)) ? outer :
2206 } while (t.hasTag(CLASS));
2294 if (t.hasTag(ERROR))
2449 bc.erasure_field = (bounds.head.hasTag(TYPEVAR)) ?
2501 if (t.bound.hasTag(TYPEVAR) ||
2677 if (t.bound.hasTag(NONE))
2827 } else if (s.type.hasTag(FORALL)) {
2845 if (!mt.hasTag(FORALL) && shouldErase) {
2847 } else if (mt.hasTag(FORALL)) {
2850 Assert.check(mt2.hasTag(FORALL));
2924 for (Type t = origin.type; t.hasTag(CLASS) || t.hasTag(TYPEVAR); t = supertype(t)) {
3083 if (st.hasTag(CLASS))
3227 return s.hasTag(METHOD)
3233 if (!s.hasTag(FORALL))
3596 if (t.hasTag(FORALL)) {
3662 if (st.hasTag(CLASS)) {
3664 } else if (st.hasTag(TYPEVAR)) {
3775 cl1.head.hasTag(CLASS) && cl2.head.hasTag(CLASS)) {
3874 if (keep && current.hasTag(TYPEVAR)) {
3931 } while (t.hasTag(TYPEVAR));
3932 if (t.hasTag(ARRAY)) {
3977 if (t.hasTag(CLASS) || t.hasTag(TYPEVAR)) {
3988 if (t.hasTag(CLASS) || t.hasTag(TYPEVAR))
4022 if (sup.hasTag(TYPEVAR)) {
4095 if (bound != lower && !lower.hasTag(BOT)) {
4292 return unboxedType.hasTag(NONE) ? t : unboxedType;
4343 if (!t.hasTag(CLASS)) {
4390 Type tmpBound = Si.bound.hasTag(UNDETVAR) ? ((UndetVar)Si.bound).qtype : Si.bound;
4391 Type tmpLower = Si.lower.hasTag(UNDETVAR) ? ((UndetVar)Si.lower).qtype : Si.lower;
4392 if (!Si.bound.hasTag(ERROR) &&
4393 !Si.lower.hasTag(ERROR) &&
4415 if (t.hasTag(WILDCARD)) {
4565 if (target.hasTag(CLASS))
4572 if (target.hasTag(ARRAY))
4754 while (t.hasTag(WILDCARD)) {
4799 if (bound.hasTag(BOT)) {
5126 if (l.head.hasTag(TypeTag.TYPEVAR)) {