| Modifier and Type | Field and Description | 
|---|---|
| static Set<String> | ADVICE_STEREOTYPESThe advice stereotypes. | 
| static String | ANN_AROUNDThe around annotation type. | 
| static String | ANN_AROUND_CONSTRUCTThe around annotation type. | 
| static String | ANN_INTERCEPTOR_BINDINGName of the interceptor binding type. | 
| static String | ANN_INTERCEPTOR_BINDING_QUALIFIERName of the interceptor binding qualifier type. | 
| static String | ANN_INTERCEPTOR_BINDINGSName of the repeatable interceptor bindings type. | 
| static String | ANN_INTRODUCTIONThe around annotation type. | 
| static AnnotatedElement | EMPTY_ANNOTATED_ELEMENTAn empty re-usable element. | 
| static String | INJECTThe meta annotation used for inject declarations. | 
| static List<String> | INTERNAL_ANNOTATION_NAMES | 
| static String | KOTLIN_METADATAConstant for Kotlin metadata. | 
| static String | NAMEDThe meta annotation used for named qualifiers. | 
| static String | NON_NULLSimple Annotation name used for non-null. | 
| static String | NULLABLESimple Annotation name used for nullable. | 
| static String | POST_CONSTRUCTThe meta annotation used for post-construct declarations. | 
| static String | PRE_DESTROYThe meta annotation used for pre-destroy declarations. | 
| static String | QUALIFIERThe meta annotation used for qualifier declarations. | 
| static String | SCOPEThe meta annotation used for scope declarations. | 
| static String | SINGLETONThe meta annotation used for singleton scope. | 
| static List<String> | STEREOTYPE_EXCLUDESPackages excludes from stereotype processing. | 
| static AnnotatedElement[] | ZERO_ANNOTATED_ELEMENTSConstant indicating an zero annotation. | 
| static AnnotationValue<?>[] | ZERO_ANNOTATION_VALUESConstant indicating an zero annotation values. | 
| static Annotation[] | ZERO_ANNOTATIONSConstant indicating an zero annotation. | 
| Constructor and Description | 
|---|
| AnnotationUtil() | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | areEqual(Object o1,
        Object o2)Computes whether 2 annotation values are equal. | 
| static int | calculateHashCode(Map<? extends CharSequence,Object> values)Calculates the hash code of annotation values. | 
| static List<String> | internListOf(Object... objects)Converts the given objects into a set of potentially cached and interned strings contained within an internal pool of lists. | 
| static Map<String,Object> | internMapOf(Object... values)Converts the given objects into a map of potentially cached and interned strings where the keys and values are alternating entries in the passed array. | 
| static Map<String,Object> | internMapOf(String key,
           Object value)Converts the given objects into a map of potentially cached and interned strings where the keys and values are alternating entries in the passed array. | 
| static Map<String,Object> | mapOf(Object... array)Create a new immutable  Mapfrom an array of values. | 
| static Map<String,Object> | mapOf(String key1,
     Object value1)Create a new immutable  Map. | 
| static Map<String,Object> | mapOf(String key1,
     Object value1,
     String key2,
     Object value2)Create a new immutable  Map. | 
| static Map<String,Object> | mapOf(String key1,
     Object value1,
     String key2,
     Object value2,
     String key3,
     Object value3)Create a new immutable  Map. | 
| static Map<String,Object> | mapOf(String key1,
     Object value1,
     String key2,
     Object value2,
     String key3,
     Object value3,
     String key4,
     Object value4)Create a new immutable  Map. | 
| static Map<String,Object> | mapOf(String key1,
     Object value1,
     String key2,
     Object value2,
     String key3,
     Object value3,
     String key4,
     Object value4,
     String key5,
     Object value5)Create a new immutable  Map. | 
| static Map<String,Object> | mapOf(String key1,
     Object value1,
     String key2,
     Object value2,
     String key3,
     Object value3,
     String key4,
     Object value4,
     String key5,
     Object value5,
     String key6,
     Object value6)Create a new immutable  Map. | 
| static Map<String,Object> | mapOf(String key1,
     Object value1,
     String key2,
     Object value2,
     String key3,
     Object value3,
     String key4,
     Object value4,
     String key5,
     Object value5,
     String key6,
     Object value6,
     String key7,
     Object value7)Create a new immutable  Map. | 
| static Map<String,Object> | mapOf(String key1,
     Object value1,
     String key2,
     Object value2,
     String key3,
     Object value3,
     String key4,
     Object value4,
     String key5,
     Object value5,
     String key6,
     Object value6,
     String key7,
     Object value7,
     String key8,
     Object value8)Create a new immutable  Map. | 
| static Map<String,Object> | mapOf(String key1,
     Object value1,
     String key2,
     Object value2,
     String key3,
     Object value3,
     String key4,
     Object value4,
     String key5,
     Object value5,
     String key6,
     Object value6,
     String key7,
     Object value7,
     String key8,
     Object value8,
     String key9,
     Object value9)Create a new immutable  Map. | 
| static Map<String,Object> | mapOf(String key1,
     Object value1,
     String key2,
     Object value2,
     String key3,
     Object value3,
     String key4,
     Object value4,
     String key5,
     Object value5,
     String key6,
     Object value6,
     String key7,
     Object value7,
     String key8,
     Object value8,
     String key9,
     Object value9,
     String key10,
     Object value10)Create a new immutable  Map. | 
public static final String KOTLIN_METADATA
public static final List<String> STEREOTYPE_EXCLUDES
public static final Annotation[] ZERO_ANNOTATIONS
public static final AnnotatedElement[] ZERO_ANNOTATED_ELEMENTS
public static final AnnotationValue<?>[] ZERO_ANNOTATION_VALUES
public static final AnnotatedElement EMPTY_ANNOTATED_ELEMENT
public static final String NULLABLE
public static final String NON_NULL
public static final String ANN_AROUND
public static final String ANN_AROUND_CONSTRUCT
public static final String ANN_INTRODUCTION
public static final String ANN_INTERCEPTOR_BINDING
public static final String ANN_INTERCEPTOR_BINDING_QUALIFIER
public static final String ANN_INTERCEPTOR_BINDINGS
public static final String INJECT
public static final String SCOPE
public static final String SINGLETON
public static final String QUALIFIER
public static final String NAMED
public static final String PRE_DESTROY
public static final String POST_CONSTRUCT
public static List<String> internListOf(Object... objects)
String.intern().
 This method serves the purpose of reducing memory footprint by pooling common lists of annotations in compiled AnnotationMetadata
objects - The objectspublic static Map<String,Object> internMapOf(Object... values)
String.intern().
 The values stored at even number positions will be converted to strings and interned.
values - The objectsCollectionUtils.mapOf(Object...)public static Map<String,Object> internMapOf(String key, Object value)
String.intern().
 The values stored at even number positions will be converted to strings and interned.
key - The keyvalue - The valuepublic static Map<String,Object> mapOf(Object... array)
Map from an array of values.
 String values must be sorted!array - The key, value arraypublic static Map<String,Object> mapOf(String key1, Object value1)
Map.
 String values must be sorted!key1 - The key 1value1 - The value 1public static Map<String,Object> mapOf(String key1, Object value1, String key2, Object value2)
Map.
 String values must be sorted!key1 - The key1value1 - The value1key2 - The key2value2 - The value2public static Map<String,Object> mapOf(String key1, Object value1, String key2, Object value2, String key3, Object value3)
Map.
 String values must be sorted!key1 - The key1value1 - The value1key2 - The key2value2 - The value2key3 - The key3value3 - The value3public static Map<String,Object> mapOf(String key1, Object value1, String key2, Object value2, String key3, Object value3, String key4, Object value4)
Map.
 String values must be sorted!key1 - The key1value1 - The value1key2 - The key2value2 - The value2key3 - The key3value3 - The value3key4 - The key4value4 - The value4public static Map<String,Object> mapOf(String key1, Object value1, String key2, Object value2, String key3, Object value3, String key4, Object value4, String key5, Object value5)
Map.
 String values must be sorted!key1 - The key1value1 - The value1key2 - The key2value2 - The value2key3 - The key3value3 - The value3key4 - The key4value4 - The value4key5 - The key5value5 - The value5public static Map<String,Object> mapOf(String key1, Object value1, String key2, Object value2, String key3, Object value3, String key4, Object value4, String key5, Object value5, String key6, Object value6)
Map.
 String values must be sorted!key1 - The key1value1 - The value1key2 - The key2value2 - The value2key3 - The key3value3 - The value3key4 - The key4value4 - The value4key5 - The key5value5 - The value5key6 - The key6value6 - The value6public static Map<String,Object> mapOf(String key1, Object value1, String key2, Object value2, String key3, Object value3, String key4, Object value4, String key5, Object value5, String key6, Object value6, String key7, Object value7)
Map.
 String values must be sorted!key1 - The key1value1 - The value1key2 - The key2value2 - The value2key3 - The key3value3 - The value3key4 - The key4value4 - The value4key5 - The key5value5 - The value5key6 - The key6value6 - The value6key7 - The key7value7 - The value7public static Map<String,Object> mapOf(String key1, Object value1, String key2, Object value2, String key3, Object value3, String key4, Object value4, String key5, Object value5, String key6, Object value6, String key7, Object value7, String key8, Object value8)
Map.
 String values must be sorted!key1 - The key1value1 - The value1key2 - The key2value2 - The value2key3 - The key3value3 - The value3key4 - The key4value4 - The value4key5 - The key5value5 - The value5key6 - The key6value6 - The value6key7 - The key7value7 - The value7key8 - The key8value8 - The value8public static Map<String,Object> mapOf(String key1, Object value1, String key2, Object value2, String key3, Object value3, String key4, Object value4, String key5, Object value5, String key6, Object value6, String key7, Object value7, String key8, Object value8, String key9, Object value9)
Map.
 String values must be sorted!key1 - The key1value1 - The value1key2 - The key2value2 - The value2key3 - The key3value3 - The value3key4 - The key4value4 - The value4key5 - The key5value5 - The value5key6 - The key6value6 - The value6key7 - The key7value7 - The value7key8 - The key8value8 - The value8key9 - The key9value9 - The value9public static Map<String,Object> mapOf(String key1, Object value1, String key2, Object value2, String key3, Object value3, String key4, Object value4, String key5, Object value5, String key6, Object value6, String key7, Object value7, String key8, Object value8, String key9, Object value9, String key10, Object value10)
Map.
 String values must be sorted!key1 - The key1value1 - The value1key2 - The key2value2 - The value2key3 - The key3value3 - The value3key4 - The key4value4 - The value4key5 - The key5value5 - The value5key6 - The key6value6 - The value6key7 - The key7value7 - The value7key8 - The key8value8 - The value8key9 - The key9value9 - The value9key10 - The key10value10 - The value10public static int calculateHashCode(Map<? extends CharSequence,Object> values)
values - The map to calculate values' hash code