|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.weld.util.AnnotatedTypes
public class AnnotatedTypes
Class that can take an AnnotatedType and return a unique string representation of that type
| Method Summary | ||
|---|---|---|
static boolean |
compareAnnotatedCallable(javax.enterprise.inject.spi.AnnotatedCallable<?> m1,
javax.enterprise.inject.spi.AnnotatedCallable<?> m2)
|
|
static boolean |
compareAnnotatedField(javax.enterprise.inject.spi.AnnotatedField<?> f1,
javax.enterprise.inject.spi.AnnotatedField<?> f2)
|
|
static boolean |
compareAnnotatedTypes(javax.enterprise.inject.spi.AnnotatedType<?> t1,
javax.enterprise.inject.spi.AnnotatedType<?> t2)
Compares two annotated types and returns true if they are the same |
|
static
|
createCallableId(javax.enterprise.inject.spi.AnnotatedCallable<X> method)
|
|
static
|
createConstructorId(java.lang.reflect.Constructor<X> constructor,
java.util.Set<java.lang.annotation.Annotation> annotations,
java.util.List<javax.enterprise.inject.spi.AnnotatedParameter<X>> parameters)
|
|
static
|
createFieldId(javax.enterprise.inject.spi.AnnotatedField<X> field)
|
|
static
|
createFieldId(java.lang.reflect.Field field,
java.util.Collection<java.lang.annotation.Annotation> annotations)
|
|
static
|
createMethodId(java.lang.reflect.Method method,
java.util.Set<java.lang.annotation.Annotation> annotations,
java.util.List<javax.enterprise.inject.spi.AnnotatedParameter<X>> parameters)
|
|
static
|
createParameterId(javax.enterprise.inject.spi.AnnotatedParameter<X> annotatedParameter)
|
|
static
|
createParameterId(java.lang.reflect.Type type,
java.util.Set<java.lang.annotation.Annotation> annotations)
|
|
static
|
createParameterListId(java.util.List<javax.enterprise.inject.spi.AnnotatedParameter<X>> parameters)
|
|
static
|
createTypeId(javax.enterprise.inject.spi.AnnotatedType<X> annotatedType)
Generates a unique signature for an annotated type. |
|
static
|
createTypeId(java.lang.Class<X> clazz,
java.util.Collection<java.lang.annotation.Annotation> annotations,
java.util.Collection<javax.enterprise.inject.spi.AnnotatedMethod<? super X>> methods,
java.util.Collection<javax.enterprise.inject.spi.AnnotatedField<? super X>> fields,
java.util.Collection<javax.enterprise.inject.spi.AnnotatedConstructor<X>> constructors)
Generates a unique signature for a concrete class |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <X> java.lang.String createTypeId(javax.enterprise.inject.spi.AnnotatedType<X> annotatedType)
X - annotatedType -
public static <X> java.lang.String createTypeId(java.lang.Class<X> clazz,
java.util.Collection<java.lang.annotation.Annotation> annotations,
java.util.Collection<javax.enterprise.inject.spi.AnnotatedMethod<? super X>> methods,
java.util.Collection<javax.enterprise.inject.spi.AnnotatedField<? super X>> fields,
java.util.Collection<javax.enterprise.inject.spi.AnnotatedConstructor<X>> constructors)
X - annotatedType -
public static <X> java.lang.String createFieldId(javax.enterprise.inject.spi.AnnotatedField<X> field)
public static <X> java.lang.String createFieldId(java.lang.reflect.Field field,
java.util.Collection<java.lang.annotation.Annotation> annotations)
public static <X> java.lang.String createCallableId(javax.enterprise.inject.spi.AnnotatedCallable<X> method)
public static <X> java.lang.String createMethodId(java.lang.reflect.Method method,
java.util.Set<java.lang.annotation.Annotation> annotations,
java.util.List<javax.enterprise.inject.spi.AnnotatedParameter<X>> parameters)
public static <X> java.lang.String createConstructorId(java.lang.reflect.Constructor<X> constructor,
java.util.Set<java.lang.annotation.Annotation> annotations,
java.util.List<javax.enterprise.inject.spi.AnnotatedParameter<X>> parameters)
public static <X> java.lang.String createParameterListId(java.util.List<javax.enterprise.inject.spi.AnnotatedParameter<X>> parameters)
public static <X> java.lang.String createParameterId(javax.enterprise.inject.spi.AnnotatedParameter<X> annotatedParameter)
public static <X> java.lang.String createParameterId(java.lang.reflect.Type type,
java.util.Set<java.lang.annotation.Annotation> annotations)
public static boolean compareAnnotatedField(javax.enterprise.inject.spi.AnnotatedField<?> f1,
javax.enterprise.inject.spi.AnnotatedField<?> f2)
public static boolean compareAnnotatedCallable(javax.enterprise.inject.spi.AnnotatedCallable<?> m1,
javax.enterprise.inject.spi.AnnotatedCallable<?> m2)
public static boolean compareAnnotatedTypes(javax.enterprise.inject.spi.AnnotatedType<?> t1,
javax.enterprise.inject.spi.AnnotatedType<?> t2)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||