|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.reflect.AnnotatedTypeUtil
@Module public class AnnotatedTypeUtil
Abstract introspected view of a Bean
| Constructor Summary | |
|---|---|
AnnotatedTypeUtil()
|
|
| Method Summary | ||
|---|---|---|
static java.lang.reflect.Method |
findDeclaredMethod(java.lang.Class<?> cl,
java.lang.reflect.Method testMethod)
Finds any method matching the method name and parameter types. |
|
static
|
findMethod(AnnotatedType<X> type,
AnnotatedMethod<?> method)
Finds any method matching the method name and parameter types. |
|
static
|
findMethod(AnnotatedType<X> type,
java.lang.reflect.Method javaMethod)
Finds any method matching the method name and parameter types. |
|
static
|
findMethod(AnnotatedType<X> type,
java.lang.String methodName,
java.lang.Class<?>[] param)
Finds any method matching the method name and parameter types. |
|
static
|
findMethod(java.util.Collection<AnnotatedMethod<? super X>> methodList,
AnnotatedMethod<?> method)
Finds any method matching the method name and parameter types. |
|
static java.lang.reflect.Method |
findMethod(java.util.Collection<java.lang.reflect.Method> methods,
java.lang.reflect.Method testMethod)
Finds any method matching the method name and parameter types. |
|
static java.lang.reflect.Method |
findMethod(java.lang.reflect.Method[] methods,
java.lang.reflect.Method testMethod)
Finds any method matching the method name and parameter types. |
|
static
|
findMethod(java.util.Set<AnnotatedMethod<? super X>> methods,
java.lang.reflect.Method method)
Finds any method matching the method name and parameter types. |
|
static
|
findMethod(java.util.Set<AnnotatedMethod<? super X>> methods,
java.lang.String methodName,
java.lang.Class<?>[] param)
Finds any method matching the method name and parameter types. |
|
static BaseType |
getBaseType(Annotated annotated)
|
|
static boolean |
hasException(AnnotatedMethod<?> method,
java.lang.Class<?> exn)
Tests if a method throws a checked exception. |
|
static boolean |
isMatch(AnnotatedMethod<?> methodA,
AnnotatedMethod<?> methodB)
Tests if two annotated methods are equivalent. |
|
static boolean |
isMatch(AnnotatedMethod<?> method,
java.lang.String name,
java.lang.Class<?>[] param)
Tests if an annotated method matches a name and parameter types. |
|
static boolean |
isMatch(java.lang.Class<?>[] paramA,
java.lang.Class<?>[] paramB)
Tests if parameters match a method's parameter types. |
|
static boolean |
isMatch(java.lang.reflect.Method methodA,
java.lang.reflect.Method methodB)
Tests if an annotated method matches a name and parameter types. |
|
static boolean |
isMatch(java.lang.reflect.Method javaMethod,
java.lang.String name,
java.lang.Class<?>[] param)
Tests if an annotated method matches a name and parameter types. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotatedTypeUtil()
| Method Detail |
|---|
public static <X> AnnotatedMethod<? super X> findMethod(AnnotatedType<X> type,
AnnotatedMethod<?> method)
public static <X> AnnotatedMethod<? super X> findMethod(java.util.Collection<AnnotatedMethod<? super X>> methodList,
AnnotatedMethod<?> method)
public static <X> AnnotatedMethod<? super X> findMethod(AnnotatedType<X> type,
java.lang.reflect.Method javaMethod)
public static <X> AnnotatedMethod<? super X> findMethod(AnnotatedType<X> type,
java.lang.String methodName,
java.lang.Class<?>[] param)
public static <X> AnnotatedMethod<? super X> findMethod(java.util.Set<AnnotatedMethod<? super X>> methods,
java.lang.reflect.Method method)
public static <X> AnnotatedMethod<? super X> findMethod(java.util.Set<AnnotatedMethod<? super X>> methods,
java.lang.String methodName,
java.lang.Class<?>[] param)
public static java.lang.reflect.Method findDeclaredMethod(java.lang.Class<?> cl,
java.lang.reflect.Method testMethod)
public static java.lang.reflect.Method findMethod(java.lang.reflect.Method[] methods,
java.lang.reflect.Method testMethod)
public static java.lang.reflect.Method findMethod(java.util.Collection<java.lang.reflect.Method> methods,
java.lang.reflect.Method testMethod)
public static boolean isMatch(AnnotatedMethod<?> methodA,
AnnotatedMethod<?> methodB)
public static boolean isMatch(AnnotatedMethod<?> method,
java.lang.String name,
java.lang.Class<?>[] param)
public static boolean isMatch(java.lang.reflect.Method javaMethod,
java.lang.String name,
java.lang.Class<?>[] param)
public static boolean isMatch(java.lang.reflect.Method methodA,
java.lang.reflect.Method methodB)
public static boolean isMatch(java.lang.Class<?>[] paramA,
java.lang.Class<?>[] paramB)
public static boolean hasException(AnnotatedMethod<?> method,
java.lang.Class<?> exn)
public static BaseType getBaseType(Annotated annotated)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||