public class QualifierUtil extends Object
Modifier and Type | Field and Description |
---|---|
static Annotation |
ANY_ANNOTATION |
static Annotation |
DEFAULT_ANNOTATION |
static Annotation[] |
DEFAULT_QUALIFIERS |
Constructor and Description |
---|
QualifierUtil() |
Modifier and Type | Method and Description |
---|---|
static Annotation[] |
getDefaultQualifiers() |
static int |
hashCodeOf(Annotation a1) |
static int |
hashValueFor(boolean b) |
static int |
hashValueFor(byte b) |
static int |
hashValueFor(char c) |
static int |
hashValueFor(double d) |
static int |
hashValueFor(float f) |
static int |
hashValueFor(int i) |
static int |
hashValueFor(long l) |
static int |
hashValueFor(Object o) |
static int |
hashValueFor(short s) |
static void |
init() |
static void |
initFromFactoryProvider(QualifierEqualityFactoryProvider provider) |
static boolean |
isDefaultAnnotations(Annotation[] annotations) |
static boolean |
isDefaultAnnotations(Collection<Annotation> annotations) |
static boolean |
isEqual(Annotation a1,
Annotation a2) |
static boolean |
isSameType(Annotation a1,
Annotation a2) |
static boolean |
matches(Collection<Annotation> allOf,
Collection<Annotation> in) |
public static final Annotation DEFAULT_ANNOTATION
public static final Annotation ANY_ANNOTATION
public static final Annotation[] DEFAULT_QUALIFIERS
public static void init()
public static boolean isEqual(Annotation a1, Annotation a2)
public static boolean isSameType(Annotation a1, Annotation a2)
public static int hashCodeOf(Annotation a1)
public static boolean matches(Collection<Annotation> allOf, Collection<Annotation> in)
public static boolean isDefaultAnnotations(Annotation[] annotations)
public static boolean isDefaultAnnotations(Collection<Annotation> annotations)
public static void initFromFactoryProvider(QualifierEqualityFactoryProvider provider)
public static int hashValueFor(int i)
public static int hashValueFor(boolean b)
public static int hashValueFor(long l)
public static int hashValueFor(float f)
public static int hashValueFor(double d)
public static int hashValueFor(char c)
public static int hashValueFor(byte b)
public static int hashValueFor(short s)
public static int hashValueFor(Object o)
public static Annotation[] getDefaultQualifiers()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.