Package com.asakusafw.utils.java.model.syntax

Examples of com.asakusafw.utils.java.model.syntax.QualifiedType


    /**
     * 限定型。
     */
    @Test
    public void qualified() {
        QualifiedType type = f.newQualifiedType(
            type(List.class, Date.class),
            f.newSimpleName("Inner"));

        QualifiedType imported = f.newQualifiedType(
            type("List", "Date"),
            f.newSimpleName("Inner"));

        ImportBuilder importer = new ImportBuilder(f, null, Strategy.TOP_LEVEL);
        assertThat(importer.resolve(type), is((Type) imported));
View Full Code Here

TOP

Related Classes of com.asakusafw.utils.java.model.syntax.QualifiedType

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.