Package org.gwtoolbox.ioc.core.client.annotation

Examples of org.gwtoolbox.ioc.core.client.annotation.EventPackages


        Set<JClassType> eventTypes = new HashSet<JClassType>();
        TypeOracle typeOracle = context.getTypeOracle();
        JClassType type = typeOracle.findType(typeName);
        if (type.isAnnotationPresent(EventPackages.class)) {
            JClassType eventType = typeOracle.findType(ApplicationEvent.class.getName());
            EventPackages eventPackages = type.getAnnotation(EventPackages.class);
            String[] patterns = eventPackages.value();
            for (JPackage pkg : typeOracle.getPackages()) {
                for (String pattern : patterns) {
                    if (pkg.getName().matches(pattern)) {
                        addEventTypes(pkg, eventTypes, eventType);
                    }
View Full Code Here

TOP

Related Classes of org.gwtoolbox.ioc.core.client.annotation.EventPackages

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.