Package de.fu_berlin.inf.dpp.annotations

Examples of de.fu_berlin.inf.dpp.annotations.Component


        Function<Class<?>, String> {
        public String apply(Class<?> u) {
            if (u.isArray()) {
                u = u.getComponentType();
            }
            Component c = u.getAnnotation(Component.class);
            if (c == null) {
                log.debug("Injected component with no @Component annotation: "
                    + u.getSimpleName());
                return Component.DEFAULT_MODULE;
            } else {
                return c.module();
            }
        }
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.annotations.Component

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.