public class IntrospectionUtil
extends java.lang.Object
| Constructor and Description |
|---|
IntrospectionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkParams(java.lang.Class<?>[] formalParams,
java.lang.Class<?>[] actualParams,
boolean strict) |
static boolean |
containsSameFieldName(java.lang.reflect.Field field,
java.lang.Class<?> c,
boolean checkPackage) |
static boolean |
containsSameMethodSignature(java.lang.reflect.Method method,
java.lang.Class<?> c,
boolean checkPackage) |
static java.lang.reflect.Field |
findField(java.lang.Class<?> clazz,
java.lang.String targetName,
java.lang.Class<?> targetType,
boolean checkInheritance,
boolean strictType) |
protected static java.lang.reflect.Field |
findInheritedField(java.lang.Package pack,
java.lang.Class<?> clazz,
java.lang.String fieldName,
java.lang.Class<?> fieldType,
boolean strictType) |
protected static java.lang.reflect.Method |
findInheritedMethod(java.lang.Package pack,
java.lang.Class<?> clazz,
java.lang.String methodName,
java.lang.Class<?>[] args,
boolean strictArgs) |
static java.lang.reflect.Method |
findMethod(java.lang.Class<?> clazz,
java.lang.String methodName,
java.lang.Class<?>[] args,
boolean checkInheritance,
boolean strictArgs) |
static boolean |
isInheritable(java.lang.Package pack,
java.lang.reflect.Member member) |
static boolean |
isJavaBeanCompliantSetter(java.lang.reflect.Method method) |
static boolean |
isSameSignature(java.lang.reflect.Method methodA,
java.lang.reflect.Method methodB) |
static boolean |
isTypeCompatible(java.lang.Class<?> formalType,
java.lang.Class<?> actualType,
boolean strict) |
public static boolean isJavaBeanCompliantSetter(java.lang.reflect.Method method)
public static java.lang.reflect.Method findMethod(java.lang.Class<?> clazz,
java.lang.String methodName,
java.lang.Class<?>[] args,
boolean checkInheritance,
boolean strictArgs)
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic static java.lang.reflect.Field findField(java.lang.Class<?> clazz,
java.lang.String targetName,
java.lang.Class<?> targetType,
boolean checkInheritance,
boolean strictType)
throws java.lang.NoSuchFieldException
java.lang.NoSuchFieldExceptionpublic static boolean isInheritable(java.lang.Package pack,
java.lang.reflect.Member member)
public static boolean checkParams(java.lang.Class<?>[] formalParams,
java.lang.Class<?>[] actualParams,
boolean strict)
public static boolean isSameSignature(java.lang.reflect.Method methodA,
java.lang.reflect.Method methodB)
public static boolean isTypeCompatible(java.lang.Class<?> formalType,
java.lang.Class<?> actualType,
boolean strict)
public static boolean containsSameMethodSignature(java.lang.reflect.Method method,
java.lang.Class<?> c,
boolean checkPackage)
public static boolean containsSameFieldName(java.lang.reflect.Field field,
java.lang.Class<?> c,
boolean checkPackage)
protected static java.lang.reflect.Method findInheritedMethod(java.lang.Package pack,
java.lang.Class<?> clazz,
java.lang.String methodName,
java.lang.Class<?>[] args,
boolean strictArgs)
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionprotected static java.lang.reflect.Field findInheritedField(java.lang.Package pack,
java.lang.Class<?> clazz,
java.lang.String fieldName,
java.lang.Class<?> fieldType,
boolean strictType)
throws java.lang.NoSuchFieldException
java.lang.NoSuchFieldExceptionCopyright © 2013 FuseSource, Corp.. All Rights Reserved.