Package gw.lang.reflect
Class ITypeInfo.FIND
- java.lang.Object
-
- gw.lang.reflect.ITypeInfo.FIND
-
-
Constructor Summary
Constructors Constructor Description FIND()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areParamsEqual(IParameterInfo[] srcArgs, IType[] testArgs)
static IConstructorInfo
callableConstructor(List<? extends IConstructorInfo> constructors, IType... params)
If there is a tie this method will throw an IllegalArgumentException.static IConstructorInfo
callableConstructorStrict(List<? extends IConstructorInfo> constructors, IType... params)
If there is a tie this method will throw an IllegalArgumentException.static IMethodInfo
callableMethod(MethodList methods, CharSequence method, IType... params)
If there is a tie this method will throw an IllegalArgumentException.static IMethodInfo
callableMethodStrict(MethodList methods, CharSequence method, IType... params)
If there is a tie this method will throw an IllegalArgumentException.static IConstructorInfo
constructor(List<? extends IConstructorInfo> constructors, IType... params)
static IMethodInfo
method(MethodList methodList, CharSequence method, IType... params)
-
-
-
Method Detail
-
method
public static IMethodInfo method(MethodList methodList, CharSequence method, IType... params)
-
constructor
public static IConstructorInfo constructor(List<? extends IConstructorInfo> constructors, IType... params)
-
callableMethod
public static IMethodInfo callableMethod(MethodList methods, CharSequence method, IType... params)
If there is a tie this method will throw an IllegalArgumentException. This method is not strict, which means that clients calling this method may get back a method where the arguments must be coerced to the expected parameter tyeps. If you wish strict behavior callcallableMethodStrict(MethodList, CharSequence, IType[])
-
callableMethodStrict
public static IMethodInfo callableMethodStrict(MethodList methods, CharSequence method, IType... params)
If there is a tie this method will throw an IllegalArgumentException. This version is strict, which means that clients calling this method do not need to do any coercion of arguments in order to invoke the IMethodInfo.
-
callableConstructor
public static IConstructorInfo callableConstructor(List<? extends IConstructorInfo> constructors, IType... params)
If there is a tie this method will throw an IllegalArgumentException. This method is not strict, which means that clients calling this method may get back a constructor where the arguments must be coerced to the expected parameter tyeps. If you wish strict behavior callcallableConstructorStrict(java.util.List, IType[])
-
callableConstructorStrict
public static IConstructorInfo callableConstructorStrict(List<? extends IConstructorInfo> constructors, IType... params)
If there is a tie this method will throw an IllegalArgumentException. This version is strict, which means that clients calling this method do not need to do any coercion of arguments in order to invoke the IConstructorInfo.
-
areParamsEqual
public static boolean areParamsEqual(IParameterInfo[] srcArgs, IType[] testArgs)
-
-