Examples of AnnotationTarget


Examples of org.jboss.jandex.AnnotationTarget

        configurations.addAll(processClass(classAnnotations, vfs, module, index));
        return configurations;
    }

    private BindingDescription getWebServiceConfiguration(final AnnotationInstance annotation, final UnifiedVirtualFile vfs, final Module module, final CompositeIndex index) {
        final AnnotationTarget annotationTarget = annotation.target();
        final BindingDescription resourceConfiguration;
        if (annotationTarget instanceof FieldInfo) {
            resourceConfiguration = processField(annotation, FieldInfo.class.cast(annotationTarget), vfs, module, index);
        } else if (annotationTarget instanceof MethodInfo) {
            resourceConfiguration = processMethod(annotation, MethodInfo.class.cast(annotationTarget), vfs, module, index);
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.