public class AnnotatedTypes
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
compareAnnotatedCallable(AnnotatedCallable<?> m1,
AnnotatedCallable<?> m2) |
static boolean |
compareAnnotatedField(AnnotatedField<?> f1,
AnnotatedField<?> f2) |
static boolean |
compareAnnotatedTypes(AnnotatedType<?> t1,
AnnotatedType<?> t2)
Compares two annotated types and returns true if they are the same
|
static <X> java.lang.String |
createCallableId(AnnotatedCallable<X> method) |
static <X> java.lang.String |
createConstructorId(java.lang.reflect.Constructor<X> constructor,
java.util.Set<java.lang.annotation.Annotation> annotations,
java.util.List<AnnotatedParameter<X>> parameters) |
static <X> java.lang.String |
createFieldId(AnnotatedField<X> field) |
static <X> java.lang.String |
createFieldId(java.lang.reflect.Field field,
java.util.Collection<java.lang.annotation.Annotation> annotations) |
static <X> java.lang.String |
createMethodId(java.lang.reflect.Method method,
java.util.Set<java.lang.annotation.Annotation> annotations,
java.util.List<AnnotatedParameter<X>> parameters) |
static <X> java.lang.String |
createParameterId(AnnotatedParameter<X> annotatedParameter) |
static <X> java.lang.String |
createParameterId(java.lang.reflect.Type type,
java.util.Set<java.lang.annotation.Annotation> annotations) |
static <X> java.lang.String |
createParameterListId(java.util.List<AnnotatedParameter<X>> parameters) |
static <X> java.lang.String |
createTypeId(AnnotatedType<X> annotatedType)
Generates a unique signature for an annotated type.
|
static <X> java.lang.String |
createTypeId(java.lang.Class<X> clazz,
java.util.Collection<java.lang.annotation.Annotation> annotations,
java.util.Collection<AnnotatedMethod<? super X>> methods,
java.util.Collection<AnnotatedField<? super X>> fields,
java.util.Collection<AnnotatedConstructor<X>> constructors)
Generates a unique signature for a concrete class
|
public static <X> java.lang.String createTypeId(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<AnnotatedMethod<? super X>> methods,
java.util.Collection<AnnotatedField<? super X>> fields,
java.util.Collection<AnnotatedConstructor<X>> constructors)
X - annotatedType - public static <X> java.lang.String createFieldId(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(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<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<AnnotatedParameter<X>> parameters)
public static <X> java.lang.String createParameterListId(java.util.List<AnnotatedParameter<X>> parameters)
public static <X> java.lang.String createParameterId(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(AnnotatedField<?> f1, AnnotatedField<?> f2)
public static boolean compareAnnotatedCallable(AnnotatedCallable<?> m1, AnnotatedCallable<?> m2)
public static boolean compareAnnotatedTypes(AnnotatedType<?> t1, AnnotatedType<?> t2)
Copyright © 2014 Seam Framework. All Rights Reserved.