org.jboss.errai.ioc.client
Class QualifierUtil
java.lang.Object
org.jboss.errai.ioc.client.QualifierUtil
public class QualifierUtil
- extends Object
A utility class for testing the equality of qualifiers at runtime.
- Author:
- Mike Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ANNOTATION
public static final Annotation DEFAULT_ANNOTATION
ANY_ANNOTATION
public static final Annotation ANY_ANNOTATION
DEFAULT_QUALIFIERS
public static final Annotation[] DEFAULT_QUALIFIERS
QualifierUtil
public QualifierUtil()
init
public static void init()
isEqual
public static boolean isEqual(Annotation a1,
Annotation a2)
isSameType
public static boolean isSameType(Annotation a1,
Annotation a2)
hashCodeOf
public static int hashCodeOf(Annotation a1)
matches
public static boolean matches(Collection<Annotation> allOf,
Collection<Annotation> in)
isDefaultAnnotations
public static boolean isDefaultAnnotations(Annotation[] annotations)
isDefaultAnnotations
public static boolean isDefaultAnnotations(Collection<Annotation> annotations)
initFromFactoryProvider
public static void initFromFactoryProvider(QualifierEqualityFactoryProvider provider)
hashValueFor
public static int hashValueFor(int i)
hashValueFor
public static int hashValueFor(boolean b)
hashValueFor
public static int hashValueFor(long l)
hashValueFor
public static int hashValueFor(float f)
hashValueFor
public static int hashValueFor(double d)
hashValueFor
public static int hashValueFor(char c)
hashValueFor
public static int hashValueFor(byte b)
hashValueFor
public static int hashValueFor(short s)
hashValueFor
public static int hashValueFor(Object o)
getDefaultQualifiers
public static Annotation[] getDefaultQualifiers()
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.