Package org.hibernate.models.internal
Class AnnotationUsageHelper
java.lang.Object
org.hibernate.models.internal.AnnotationUsageHelper
Helper for dealing with annotation wrappers -
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <A extends Annotation>
AnnotationUsage<A>findUsage(AnnotationDescriptor<A> type, Map<Class<? extends Annotation>, AnnotationUsage<? extends Annotation>> usageMap) static <A extends Annotation>
AnnotationUsage<A>getNamedUsage(AnnotationDescriptor<A> type, String matchValue, String attributeToMatch, Map<Class<? extends Annotation>, AnnotationUsage<?>> usageMap) static <A extends Annotation>
List<AnnotationUsage<A>>getRepeatedUsages(AnnotationDescriptor<A> type, Map<Class<? extends Annotation>, AnnotationUsage<? extends Annotation>> usageMap) static <A extends Annotation>
AnnotationUsage<A>getUsage(AnnotationDescriptor<A> type, Map<Class<? extends Annotation>, AnnotationUsage<? extends Annotation>> usageMap)
-
Method Details
-
findUsage
public static <A extends Annotation> AnnotationUsage<A> findUsage(AnnotationDescriptor<A> type, Map<Class<? extends Annotation>, AnnotationUsage<? extends Annotation>> usageMap) -
getUsage
public static <A extends Annotation> AnnotationUsage<A> getUsage(AnnotationDescriptor<A> type, Map<Class<? extends Annotation>, AnnotationUsage<? extends Annotation>> usageMap) -
getRepeatedUsages
public static <A extends Annotation> List<AnnotationUsage<A>> getRepeatedUsages(AnnotationDescriptor<A> type, Map<Class<? extends Annotation>, AnnotationUsage<? extends Annotation>> usageMap) -
getNamedUsage
public static <A extends Annotation> AnnotationUsage<A> getNamedUsage(AnnotationDescriptor<A> type, String matchValue, String attributeToMatch, Map<Class<? extends Annotation>, AnnotationUsage<?>> usageMap)
-