Package javax.annotation

Examples of javax.annotation.Stereotype


    }

    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));

    }
View Full Code Here


    }

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

    }

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

TOP

Related Classes of javax.annotation.Stereotype

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.