Package javax.annotation

Examples of javax.annotation.Stereotype.supportedScopes()


    private void configureScopes(Class<?> clazz)
    {
        Asserts.nullCheckForClass(clazz);
        Stereotype type = clazz.getAnnotation(Stereotype.class);

        Class<? extends Annotation>[] supportedScopes = type.supportedScopes();
        this.supportedScopes = new HashSet<Class<? extends Annotation>>(Arrays.asList(supportedScopes));

    }

    private void configureTypes(Class<?> clazz)
View Full Code Here


    private void configureScopes(Class<?> clazz)
    {
        Asserts.nullCheckForClass(clazz);
        Stereotype type = clazz.getAnnotation(Stereotype.class);

        Class<? extends Annotation>[] supportedScopes = type.supportedScopes();
        this.supportedScopes = new HashSet<Class<? extends Annotation>>(Arrays.asList(supportedScopes));

    }

    private void configureTypes(Class<?> clazz)
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.