Examples of requiredTypes()


Examples of javax.annotation.Stereotype.requiredTypes()

    private void configureTypes(Class<?> clazz)
    {
        Asserts.nullCheckForClass(clazz);
        Stereotype type = clazz.getAnnotation(Stereotype.class);
        this.restrictedTypes = new HashSet<Class<?>>(Arrays.asList(type.requiredTypes()));
    }

    /**
     * @return the name
     */
 
View Full Code Here

Examples of javax.annotation.Stereotype.requiredTypes()

    private void configureTypes(Class<?> clazz)
    {
        Asserts.nullCheckForClass(clazz);
        Stereotype type = clazz.getAnnotation(Stereotype.class);
        this.restrictedTypes = new HashSet<Class<?>>(Arrays.asList(type.requiredTypes()));
    }

    /**
     * @return the name
     */
 
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.