类 AnnotationUtils
- java.lang.Object
-
- io.microsphere.spring.util.AnnotationUtils
-
public abstract class AnnotationUtils extends java.lang.ObjectAnnotationUtilities- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
- 另请参阅:
Annotation
-
-
字段概要
字段 修饰符和类型 字段 说明 static java.lang.Class<?>ANNOTATED_ELEMENT_UTILS_CLASSTheClassofAnnotatedElementUtilsthat is introduced since Spring Framework 4static java.lang.StringANNOTATED_ELEMENT_UTILS_CLASS_NAMEThe class name ofthat is introduced since Spring Framework 4static java.lang.reflect.MethodANNOTATION_ATTRIBUTES_ANNOTATION_TYPE_METHODTheMethodobject ofAnnotationAttributes.annotationType()is introduced since Spring Framework 4.2
-
构造器概要
构造器 构造器 说明 AnnotationUtils()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static <A extends java.lang.annotation.Annotation>
java.util.Map<java.lang.annotation.ElementType,java.util.List<A>>findAnnotations(java.lang.reflect.Method method, java.lang.Class<A> annotationClass)Find specifiedAnnotationtype maps fromMethodstatic <A extends java.lang.annotation.Annotation>
java.lang.Class<A>findAnnotationType(org.springframework.core.annotation.AnnotationAttributes annotationAttributes)Find theclassofAnnotationfrom the specifiedAnnotationAttributesstatic org.springframework.core.annotation.AnnotationAttributesgetAnnotationAttributes(java.lang.annotation.Annotation annotation, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Get theAnnotationAttributesstatic org.springframework.core.annotation.AnnotationAttributesgetAnnotationAttributes(java.lang.annotation.Annotation annotation, org.springframework.core.env.PropertyResolver propertyResolver, boolean classValuesAsString, boolean nestedAnnotationsAsMap, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Get theAnnotationAttributesstatic org.springframework.core.annotation.AnnotationAttributesgetAnnotationAttributes(java.lang.annotation.Annotation annotation, org.springframework.core.env.PropertyResolver propertyResolver, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Get theAnnotationAttributesstatic org.springframework.core.annotation.AnnotationAttributesgetAnnotationAttributes(java.lang.reflect.AnnotatedElement annotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, org.springframework.core.env.PropertyResolver propertyResolver, boolean classValuesAsString, boolean nestedAnnotationsAsMap, boolean ignoreDefaultValue, boolean tryMergedAnnotation, java.lang.String... ignoreAttributeNames)Get theAnnotationAttributes, if the argumenttryMergedAnnotationistrue, theAnnotationAttributeswill be got frommerged annotationfirst, if failed, and then to get fromnormal onestatic org.springframework.core.annotation.AnnotationAttributesgetAnnotationAttributes(java.lang.reflect.AnnotatedElement annotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, org.springframework.core.env.PropertyResolver propertyResolver, boolean classValuesAsString, boolean nestedAnnotationsAsMap, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Get theAnnotationAttributesstatic org.springframework.core.annotation.AnnotationAttributesgetAnnotationAttributes(java.lang.reflect.AnnotatedElement annotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, org.springframework.core.env.PropertyResolver propertyResolver, boolean ignoreDefaultValue, boolean tryMergedAnnotation, java.lang.String... ignoreAttributeNames)Get theAnnotationAttributes, if the argumenttryMergedAnnotationistrue, theAnnotationAttributeswill be got frommerged annotationfirst, if failed, and then to get fromnormal onestatic org.springframework.core.annotation.AnnotationAttributesgetAnnotationAttributes(java.lang.reflect.AnnotatedElement annotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, org.springframework.core.env.PropertyResolver propertyResolver, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Get theAnnotationAttributesstatic org.springframework.core.annotation.AnnotationAttributesgetAnnotationAttributes(org.springframework.core.type.AnnotationMetadata metadata, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)Get an instance ofAnnotationAttributesfromAnnotationMetadatawith the specified class name ofannotation.static org.springframework.core.annotation.AnnotationAttributesgetAnnotationAttributes(org.springframework.core.type.AnnotationMetadata metadata, java.lang.String annotationClassName)Get an instance ofAnnotationAttributesfromAnnotationMetadatawith the specified class name ofannotation.static <T> TgetAttribute(java.lang.annotation.Annotation annotation, java.lang.String attributeName)Get the attribute valuestatic <T> TgetAttribute(java.util.Map<java.lang.String,java.lang.Object> attributes, java.lang.String attributeName)Get the attribute valuestatic <T> TgetAttribute(java.util.Map<java.lang.String,java.lang.Object> attributes, java.lang.String attributeName, boolean required)Get the attribute value the willstatic <T> TgetAttribute(java.util.Map<java.lang.String,java.lang.Object> attributes, java.lang.String attributeName, T defaultValue)Get the attribute value with default valuestatic java.util.Map<java.lang.String,java.lang.Object>getAttributes(java.lang.annotation.Annotation annotation, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Get theAnnotationattributesstatic java.util.Map<java.lang.String,java.lang.Object>getAttributes(java.lang.annotation.Annotation annotation, org.springframework.core.env.PropertyResolver propertyResolver, boolean classValuesAsString, boolean nestedAnnotationsAsMap, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)static java.util.Map<java.lang.String,java.lang.Object>getAttributes(java.lang.annotation.Annotation annotation, org.springframework.core.env.PropertyResolver propertyResolver, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Get theAnnotationattributesstatic java.util.Map<java.lang.String,java.lang.Object>getAttributes(java.util.Map<java.lang.String,java.lang.Object> annotationAttributes, org.springframework.core.env.PropertyResolver propertyResolver, java.lang.String... ignoreAttributeNames)Get theAnnotationattributesstatic <T> TgetRequiredAttribute(java.util.Map<java.lang.String,java.lang.Object> attributes, java.lang.String attributeName)Get the required attribute valuestatic <A extends java.lang.annotation.Annotation>
booleanisPresent(java.lang.reflect.Method method, java.lang.Class<A> annotationClass)Is specifiedAnnotationpresent onMethod's declaring class or parameters or itself.static java.lang.annotation.AnnotationtryGetMergedAnnotation(java.lang.reflect.AnnotatedElement annotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)Try to get the mergedannotationstatic java.lang.annotation.AnnotationtryGetMergedAnnotation(java.lang.reflect.AnnotatedElement annotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, boolean classValuesAsString, boolean nestedAnnotationsAsMap)Try to get the mergedannotationstatic org.springframework.core.annotation.AnnotationAttributestryGetMergedAnnotationAttributes(java.lang.reflect.AnnotatedElement annotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, org.springframework.core.env.PropertyResolver propertyResolver, boolean classValuesAsString, boolean nestedAnnotationsAsMap, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Try to getthe annotation attributesafter merging and resolving the placeholdersstatic org.springframework.core.annotation.AnnotationAttributestryGetMergedAnnotationAttributes(java.lang.reflect.AnnotatedElement annotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, org.springframework.core.env.PropertyResolver propertyResolver, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Try to getthe annotation attributesafter merging and resolving the placeholders
-
-
-
字段详细资料
-
ANNOTATED_ELEMENT_UTILS_CLASS_NAME
public static final java.lang.String ANNOTATED_ELEMENT_UTILS_CLASS_NAME
The class name ofthat is introduced since Spring Framework 4- 另请参阅:
- 常量字段值
-
ANNOTATED_ELEMENT_UTILS_CLASS
public static final java.lang.Class<?> ANNOTATED_ELEMENT_UTILS_CLASS
TheClassofAnnotatedElementUtilsthat is introduced since Spring Framework 4
-
ANNOTATION_ATTRIBUTES_ANNOTATION_TYPE_METHOD
public static final java.lang.reflect.Method ANNOTATION_ATTRIBUTES_ANNOTATION_TYPE_METHOD
TheMethodobject ofAnnotationAttributes.annotationType()is introduced since Spring Framework 4.2
-
-
方法详细资料
-
isPresent
public static <A extends java.lang.annotation.Annotation> boolean isPresent(java.lang.reflect.Method method, java.lang.Class<A> annotationClass)Is specifiedAnnotationpresent onMethod's declaring class or parameters or itself.- 类型参数:
A-Annotationtype- 参数:
method-MethodannotationClass-Annotationtype- 返回:
- If present , return
true, orfalse
-
findAnnotations
public static <A extends java.lang.annotation.Annotation> java.util.Map<java.lang.annotation.ElementType,java.util.List<A>> findAnnotations(java.lang.reflect.Method method, java.lang.Class<A> annotationClass)Find specifiedAnnotationtype maps fromMethod- 类型参数:
A-Annotationtype- 参数:
method-MethodannotationClass-Annotationtype- 返回:
Annotationtype maps , theElementTypeas key , the list ofAnnotationas value. IfAnnotationwas annotated onMethod's parametersElementType.PARAMETER, the associatedAnnotationlist may contain multiple elements.
-
getAttributes
public static java.util.Map<java.lang.String,java.lang.Object> getAttributes(java.lang.annotation.Annotation annotation, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Get theAnnotationattributes- 参数:
annotation- specifiedAnnotationignoreDefaultValue- whether ignore default value or notignoreAttributeNames- the attribute names of annotation should be ignored- 返回:
- non-null
-
getAttributes
public static java.util.Map<java.lang.String,java.lang.Object> getAttributes(java.lang.annotation.Annotation annotation, org.springframework.core.env.PropertyResolver propertyResolver, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Get theAnnotationattributes- 参数:
annotation- specifiedAnnotationpropertyResolver-PropertyResolverinstance, e.gEnvironmentignoreDefaultValue- whether ignore default value or notignoreAttributeNames- the attribute names of annotation should be ignored- 返回:
- non-null
-
getAttributes
public static java.util.Map<java.lang.String,java.lang.Object> getAttributes(java.util.Map<java.lang.String,java.lang.Object> annotationAttributes, org.springframework.core.env.PropertyResolver propertyResolver, java.lang.String... ignoreAttributeNames)Get theAnnotationattributes- 参数:
annotationAttributes- the attributes of specifiedAnnotationpropertyResolver-PropertyResolverinstance, e.gEnvironmentignoreAttributeNames- the attribute names of annotation should be ignored- 返回:
- non-null
-
getAttributes
public static java.util.Map<java.lang.String,java.lang.Object> getAttributes(java.lang.annotation.Annotation annotation, org.springframework.core.env.PropertyResolver propertyResolver, boolean classValuesAsString, boolean nestedAnnotationsAsMap, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)- 参数:
annotation- specifiedAnnotationpropertyResolver-PropertyResolverinstance, e.gEnvironmentclassValuesAsString- whether to turn Class references into Strings (for compatibility withAnnotationMetadataor to preserve them as Class referencesnestedAnnotationsAsMap- whether to turn nested Annotation instances intoAnnotationAttributesmaps (for compatibility withAnnotationMetadataor to preserve them as Annotation instancesignoreDefaultValue- whether ignore default value or notignoreAttributeNames- the attribute names of annotation should be ignored- 返回:
-
getAttribute
public static <T> T getAttribute(java.lang.annotation.Annotation annotation, java.lang.String attributeName)Get the attribute value- 类型参数:
T- the type of attribute value- 参数:
annotation-annotationattributeName- the name of attribute- 返回:
- the attribute value if found
-
getAttribute
public static <T> T getAttribute(java.util.Map<java.lang.String,java.lang.Object> attributes, java.lang.String attributeName)Get the attribute value- 类型参数:
T- the type of attribute value- 参数:
attributes-the annotation attributesorAnnotationAttributesattributeName- the name of attribute- 返回:
- the attribute value if found
-
getAttribute
public static <T> T getAttribute(java.util.Map<java.lang.String,java.lang.Object> attributes, java.lang.String attributeName, boolean required)Get the attribute value the will- 类型参数:
T- the type of attribute value- 参数:
attributes-the annotation attributesorAnnotationAttributesattributeName- the name of attributerequired- the required attribute or not- 返回:
- the attribute value if found
- 抛出:
java.lang.IllegalStateException- if attribute value can't be found
-
getAttribute
public static <T> T getAttribute(java.util.Map<java.lang.String,java.lang.Object> attributes, java.lang.String attributeName, T defaultValue)Get the attribute value with default value- 类型参数:
T- the type of attribute value- 参数:
attributes-the annotation attributesorAnnotationAttributesattributeName- the name of attributedefaultValue- the default value of attribute- 返回:
- the attribute value if found
-
getRequiredAttribute
public static <T> T getRequiredAttribute(java.util.Map<java.lang.String,java.lang.Object> attributes, java.lang.String attributeName)Get the required attribute value- 类型参数:
T- the type of attribute value- 参数:
attributes-the annotation attributesorAnnotationAttributesattributeName- the name of attribute- 返回:
- the attribute value if found
- 抛出:
java.lang.IllegalStateException- if attribute value can't be found
-
getAnnotationAttributes
public static org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes(java.lang.annotation.Annotation annotation, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Get theAnnotationAttributes- 参数:
annotation- specifiedAnnotationignoreDefaultValue- whether ignore default value or notignoreAttributeNames- the attribute names of annotation should be ignored- 返回:
- non-null
- 另请参阅:
getAnnotationAttributes(Annotation, PropertyResolver, boolean, String...)
-
getAnnotationAttributes
public static org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes(java.lang.annotation.Annotation annotation, org.springframework.core.env.PropertyResolver propertyResolver, boolean classValuesAsString, boolean nestedAnnotationsAsMap, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Get theAnnotationAttributes- 参数:
annotation- specifiedAnnotationpropertyResolver-PropertyResolverinstance, e.gEnvironmentclassValuesAsString- whether to turn Class references into Strings (for compatibility withAnnotationMetadataor to preserve them as Class referencesnestedAnnotationsAsMap- whether to turn nested Annotation instances intoAnnotationAttributesmaps (for compatibility withAnnotationMetadataor to preserve them as Annotation instancesignoreAttributeNames- the attribute names of annotation should be ignoredignoreDefaultValue- whether ignore default value or not- 返回:
- non-null
- 另请参阅:
getAttributes(Annotation, PropertyResolver, boolean, String...),getAnnotationAttributes(AnnotatedElement, Class, PropertyResolver, boolean, String...)
-
getAnnotationAttributes
public static org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes(java.lang.annotation.Annotation annotation, org.springframework.core.env.PropertyResolver propertyResolver, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Get theAnnotationAttributes- 参数:
annotation- specifiedAnnotationpropertyResolver-PropertyResolverinstance, e.gEnvironmentignoreDefaultValue- whether ignore default value or notignoreAttributeNames- the attribute names of annotation should be ignored- 返回:
- non-null
- 另请参阅:
getAttributes(Annotation, PropertyResolver, boolean, String...),getAnnotationAttributes(AnnotatedElement, Class, PropertyResolver, boolean, String...)
-
getAnnotationAttributes
public static org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes(java.lang.reflect.AnnotatedElement annotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, org.springframework.core.env.PropertyResolver propertyResolver, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Get theAnnotationAttributes- 参数:
annotatedElement-the annotated elementannotationType- thetyoepfannotationpropertyResolver-PropertyResolverinstance, e.gEnvironmentignoreDefaultValue- whether ignore default value or notignoreAttributeNames- the attribute names of annotation should be ignored- 返回:
- if
annotatedElementcan't be found inannotatedElement, returnnull
-
getAnnotationAttributes
public static org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes(java.lang.reflect.AnnotatedElement annotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, org.springframework.core.env.PropertyResolver propertyResolver, boolean classValuesAsString, boolean nestedAnnotationsAsMap, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Get theAnnotationAttributes- 参数:
annotatedElement-the annotated elementannotationType- thetyoepfannotationpropertyResolver-PropertyResolverinstance, e.gEnvironmentignoreDefaultValue- whether ignore default value or notignoreAttributeNames- the attribute names of annotation should be ignored- 返回:
- if
annotatedElementcan't be found inannotatedElement, returnnull
-
getAnnotationAttributes
public static org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes(java.lang.reflect.AnnotatedElement annotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, org.springframework.core.env.PropertyResolver propertyResolver, boolean ignoreDefaultValue, boolean tryMergedAnnotation, java.lang.String... ignoreAttributeNames)Get theAnnotationAttributes, if the argumenttryMergedAnnotationistrue, theAnnotationAttributeswill be got frommerged annotationfirst, if failed, and then to get fromnormal one- 参数:
annotatedElement-the annotated elementannotationType- thetyoepfannotationpropertyResolver-PropertyResolverinstance, e.gEnvironmentignoreDefaultValue- whether ignore default value or nottryMergedAnnotation- whether try merged annotation or notignoreAttributeNames- the attribute names of annotation should be ignored- 返回:
- if
annotatedElementcan't be found inannotatedElement, returnnull
-
getAnnotationAttributes
public static org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes(java.lang.reflect.AnnotatedElement annotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, org.springframework.core.env.PropertyResolver propertyResolver, boolean classValuesAsString, boolean nestedAnnotationsAsMap, boolean ignoreDefaultValue, boolean tryMergedAnnotation, java.lang.String... ignoreAttributeNames)Get theAnnotationAttributes, if the argumenttryMergedAnnotationistrue, theAnnotationAttributeswill be got frommerged annotationfirst, if failed, and then to get fromnormal one- 参数:
annotatedElement-the annotated elementannotationType- thetyoepfannotationpropertyResolver-PropertyResolverinstance, e.gEnvironmentclassValuesAsString- whether to turn Class references into Strings (for compatibility withAnnotationMetadataor to preserve them as Class referencesnestedAnnotationsAsMap- whether to turn nested Annotation instances intoAnnotationAttributesmaps (for compatibility withAnnotationMetadataor to preserve them as Annotation instancesignoreDefaultValue- whether ignore default value or nottryMergedAnnotation- whether try merged annotation or notignoreAttributeNames- the attribute names of annotation should be ignored- 返回:
- if
annotatedElementcan't be found inannotatedElement, returnnull
-
tryGetMergedAnnotation
public static java.lang.annotation.Annotation tryGetMergedAnnotation(java.lang.reflect.AnnotatedElement annotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)Try to get the mergedannotation- 参数:
annotatedElement-the annotated elementannotationType- thetyoepfannotation- 返回:
- If current version of Spring Framework is below 4.2, return
null
-
tryGetMergedAnnotation
public static java.lang.annotation.Annotation tryGetMergedAnnotation(java.lang.reflect.AnnotatedElement annotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, boolean classValuesAsString, boolean nestedAnnotationsAsMap)Try to get the mergedannotation- 参数:
annotatedElement-the annotated elementannotationType- thetyoepfannotationclassValuesAsString- whether to turn Class references into Strings (for compatibility withAnnotationMetadataor to preserve them as Class referencesnestedAnnotationsAsMap- whether to turn nested Annotation instances intoAnnotationAttributesmaps (for compatibility withAnnotationMetadataor to preserve them as Annotation instances- 返回:
- If current version of Spring Framework is below 4.2, return
null
-
tryGetMergedAnnotationAttributes
public static org.springframework.core.annotation.AnnotationAttributes tryGetMergedAnnotationAttributes(java.lang.reflect.AnnotatedElement annotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, org.springframework.core.env.PropertyResolver propertyResolver, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Try to getthe annotation attributesafter merging and resolving the placeholders- 参数:
annotatedElement-the annotated elementannotationType- thetyoepfannotationpropertyResolver-PropertyResolverinstance, e.gEnvironmentignoreDefaultValue- whether ignore default value or notignoreAttributeNames- the attribute names of annotation should be ignored- 返回:
- If the specified annotation type is not found, return
null
-
tryGetMergedAnnotationAttributes
public static org.springframework.core.annotation.AnnotationAttributes tryGetMergedAnnotationAttributes(java.lang.reflect.AnnotatedElement annotatedElement, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, org.springframework.core.env.PropertyResolver propertyResolver, boolean classValuesAsString, boolean nestedAnnotationsAsMap, boolean ignoreDefaultValue, java.lang.String... ignoreAttributeNames)Try to getthe annotation attributesafter merging and resolving the placeholders- 参数:
annotatedElement-the annotated elementannotationType- thetyoepfannotationpropertyResolver-PropertyResolverinstance, e.gEnvironmentclassValuesAsString- whether to turn Class references into Strings (for compatibility withAnnotationMetadataor to preserve them as Class referencesnestedAnnotationsAsMap- whether to turn nested Annotation instances intoAnnotationAttributesmaps (for compatibility withAnnotationMetadataor to preserve them as Annotation instancesignoreDefaultValue- whether ignore default value or notignoreAttributeNames- the attribute names of annotation should be ignored- 返回:
- If the specified annotation type is not found, return
null
-
getAnnotationAttributes
public static org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes(org.springframework.core.type.AnnotationMetadata metadata, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)Get an instance ofAnnotationAttributesfromAnnotationMetadatawith the specified class name ofannotation.- 参数:
metadata-AnnotationMetadataannotationType- Theclassofannotation- 返回:
- non-null
-
getAnnotationAttributes
public static org.springframework.core.annotation.AnnotationAttributes getAnnotationAttributes(org.springframework.core.type.AnnotationMetadata metadata, java.lang.String annotationClassName)Get an instance ofAnnotationAttributesfromAnnotationMetadatawith the specified class name ofannotation.- 参数:
metadata-AnnotationMetadataannotationClassName- The class name ofannotation- 返回:
- non-null
-
findAnnotationType
@Nullable public static <A extends java.lang.annotation.Annotation> java.lang.Class<A> findAnnotationType(org.springframework.core.annotation.AnnotationAttributes annotationAttributes)
Find theclassofAnnotationfrom the specifiedAnnotationAttributes- 类型参数:
A- TheclassofAnnotation- 参数:
annotationAttributes-AnnotationAttributes- 返回:
nullif not found
-
-