Package com.sun.tools.javac.comp.DeferredAttr

Examples of com.sun.tools.javac.comp.DeferredAttr.DeferredType


        }

        @Override
        protected Type check(DiagnosticPosition pos, Type found) {
            if (found.hasTag(DEFERRED)) {
                DeferredType dt = (DeferredType)found;
                return dt.check(this);
            } else {
                return super.check(pos, chk.checkNonVoid(pos, types.capture(U(found.baseType()))));
            }
        }
View Full Code Here


                if (!allowStructuralMostSpecific || actual == null) {
                    return super.compatible(found, req, warn);
                } else {
                    switch (actual.getTag()) {
                        case DEFERRED:
                            DeferredType dt = (DeferredType) actual;
                            DeferredType.SpeculativeCache.Entry e = dt.speculativeCache.get(deferredAttrContext.msym, deferredAttrContext.phase);
                            return (e == null || e.speculativeTree == deferredAttr.stuckTree)
                                    ? super.compatible(found, req, warn) :
                                      mostSpecific(found, req, e.speculativeTree, warn);
                        default:
View Full Code Here

TOP

Related Classes of com.sun.tools.javac.comp.DeferredAttr.DeferredType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.