Package com.redhat.ceylon.compiler.typechecker.model

Examples of com.redhat.ceylon.compiler.typechecker.model.ProducedType.resolveAliases()


                // Util.isReified() using instanceof against the bounds
                result = typeTester.isReified(varName.makeIdent(), testedType);
                Iterator<ProducedType> iterator = reifiableUpperBounds((TypeParameter)declaration, expressionType).iterator();
                while (iterator.hasNext()) {
                    ProducedType type = iterator.next();
                    ClassOrInterface c = ((ClassOrInterface)type.resolveAliases().getDeclaration());
                    result = typeTester.andOr(
                            typeTester.isInstanceof(iterator.hasNext() ? varName.makeIdent() : varExpr, c.getType()),
                            result, JCTree.AND);
                }
                return result;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.