-
Deprecated Classes
-
Deprecated MethodsMethodDescriptionidentical to
FieldUtils.isFieldAnnotated(Field, Class).isAnnotationPresentis defined by the JDK asgetAnnotation(x) != null, and a field annotation is never inherited, so there is nothing for "exact" to distinguish. UseFieldUtils.isFieldAnnotated(Field, Class).the name says primitive but the check also answers true for the wrapper classes and forString. UseObjectUtils.isSimpleValueType(Field), which says what it does, orfield.getType().isPrimitive()for a real primitive check.identical toReflectionUtils.isFieldAnnotated(Field, Class).the name says primitive but the check also answers true for the wrapper classes and forString. UseReflectionUtils.isSimpleValueType(Field).
ReflectionUtilsor the focused utility class for the area you need -FieldUtils,MethodUtils,ConstructorUtils,AnnotationUtils,InvokeUtils,PackageUtils,ClassBasicUtils,ObjectUtilsorSecurityUtils.