Examples of JClassTypeVisitor


Examples of org.gwtoolbox.commons.generator.rebind.JClassTypeVisitor

        if (beanOracle.getType().isAnnotationPresent(Order.class)) {
            Order order = beanOracle.getType().getAnnotation(Order.class);
            definition.setOrder(order.value());
        }

        GeneratorUtils.visitHierarchy(beanOracle.getType(), new JClassTypeVisitor() {
            public boolean visit(JClassType type) {
                JClassType generatedType = resolveGeneratedTypeIfPresent(logger, type);
                if (generatedType != null) {
                    logger.info("Found generated type for '" + type.getQualifiedSourceName() + "' -> '" + generatedType.getQualifiedSourceName() + "'");
                    definition.setGeneratedType(generatedType);
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.