Package org.jboss.as.ee.metadata
Class MethodAnnotationAggregator
java.lang.Object
org.jboss.as.ee.metadata.MethodAnnotationAggregator
Class which can turn a pre-runtime description of annotations into a runtime description.
This correctly handles overridden methods, so the annotations on overridden methods will not show up in the result
- Author:
- Stuart Douglas
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <A extends Annotation,T>
RuntimeAnnotationInformation<T>runtimeAnnotationInformation(Class<?> componentClass, EEApplicationClasses applicationClasses, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex index, Class<A> annotationType) static <A extends Annotation,T>
Set<Method>runtimeAnnotationPresent(Class<?> componentClass, EEApplicationClasses applicationClasses, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex index, Class<A> annotationType)
-
Constructor Details
-
MethodAnnotationAggregator
public MethodAnnotationAggregator()
-
-
Method Details
-
runtimeAnnotationInformation
public static <A extends Annotation,T> RuntimeAnnotationInformation<T> runtimeAnnotationInformation(Class<?> componentClass, EEApplicationClasses applicationClasses, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex index, Class<A> annotationType) -
runtimeAnnotationPresent
public static <A extends Annotation,T> Set<Method> runtimeAnnotationPresent(Class<?> componentClass, EEApplicationClasses applicationClasses, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex index, Class<A> annotationType)
-