Top Description Constructors Methods
org.eclipse.jetty.util

public Class IntrospectionUtil

extends Object
Class Inheritance
Imports
java.lang.reflect.Field, .Member, .Method, .Modifier, java.util.Arrays, .List

IntrospectionUtil

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static boolean
checkParams(Class<?>[] formalParams, Class<?>[] actualParams, boolean strict)

public static boolean
containsSameFieldName(Field field, Class<?> c, boolean checkPackage)

public static boolean
containsSameMethodSignature(Method method, Class<?> c, boolean checkPackage)

public static Field
findField(Class<?> clazz, String targetName, Class<?> targetType, boolean checkInheritance, boolean strictType)

protected static Field
findInheritedField(Package pack, Class<?> clazz, String fieldName, Class<?> fieldType, boolean strictType)

protected static Method
findInheritedMethod(Package pack, Class<?> clazz, String methodName, Class<?>[] args, boolean strictArgs)

public static Method
findMethod(Class<?> clazz, String methodName, Class<?>[] args, boolean checkInheritance, boolean strictArgs)

public static boolean
public static boolean
public static boolean
isSameSignature(Method methodA, Method methodB)

public static boolean
isTypeCompatible(Class<?> formalType, Class<?> actualType, boolean strict)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

IntrospectionUtilback to summary
public IntrospectionUtil()

Method Detail

checkParamsback to summary
public static boolean checkParams(Class<?>[] formalParams, Class<?>[] actualParams, boolean strict)
containsSameFieldNameback to summary
public static boolean containsSameFieldName(Field field, Class<?> c, boolean checkPackage)
containsSameMethodSignatureback to summary
public static boolean containsSameMethodSignature(Method method, Class<?> c, boolean checkPackage)
findFieldback to summary
public static Field findField(Class<?> clazz, String targetName, Class<?> targetType, boolean checkInheritance, boolean strictType) throws NoSuchFieldException
findInheritedFieldback to summary
protected static Field findInheritedField(Package pack, Class<?> clazz, String fieldName, Class<?> fieldType, boolean strictType) throws NoSuchFieldException
findInheritedMethodback to summary
protected static Method findInheritedMethod(Package pack, Class<?> clazz, String methodName, Class<?>[] args, boolean strictArgs) throws NoSuchMethodException
findMethodback to summary
public static Method findMethod(Class<?> clazz, String methodName, Class<?>[] args, boolean checkInheritance, boolean strictArgs) throws NoSuchMethodException
isInheritableback to summary
public static boolean isInheritable(Package pack, Member member)
isJavaBeanCompliantSetterback to summary
public static boolean isJavaBeanCompliantSetter(Method method)
isSameSignatureback to summary
public static boolean isSameSignature(Method methodA, Method methodB)
isTypeCompatibleback to summary
public static boolean isTypeCompatible(Class<?> formalType, Class<?> actualType, boolean strict)