Package com.strobel.reflection
Class DefaultBinder
- java.lang.Object
-
- com.strobel.reflection.Binder
-
- com.strobel.reflection.DefaultBinder
-
final class DefaultBinder extends Binder
-
-
Constructor Summary
Constructors Constructor Description DefaultBinder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static intfindMostSpecific(ParameterList p1, int[] varArgOrder1, Type varArgArrayType1, ParameterList p2, int[] varArgOrder2, Type varArgArrayType2, Type[] types, java.lang.Object[] args)private static intfindMostSpecificMethod(MethodBase m1, int[] varArgOrder1, Type varArgArrayType1, MethodBase m2, int[] varArgOrder2, Type varArgArrayType2, Type[] types, java.lang.Object[] args)private static intfindMostSpecificType(Type c1, Type c2, Type t)MethodBaseselectMethod(java.util.Set<BindingFlags> bindingFlags, MethodBase[] matches, Type[] types)-
Methods inherited from class com.strobel.reflection.Binder
compareMethodSignatureAndName, findMostDerivedNewSlotMethod, getHierarchyDepth
-
-
-
-
Method Detail
-
selectMethod
public MethodBase selectMethod(java.util.Set<BindingFlags> bindingFlags, MethodBase[] matches, Type[] types)
- Specified by:
selectMethodin classBinder
-
findMostSpecificMethod
private static int findMostSpecificMethod(MethodBase m1, int[] varArgOrder1, Type varArgArrayType1, MethodBase m2, int[] varArgOrder2, Type varArgArrayType2, Type[] types, java.lang.Object[] args)
-
findMostSpecific
private static int findMostSpecific(ParameterList p1, int[] varArgOrder1, Type varArgArrayType1, ParameterList p2, int[] varArgOrder2, Type varArgArrayType2, Type[] types, java.lang.Object[] args)
-
-