/** * @param index * @param declaringClass * @return the declared method for the given index and declaring class * @throws IndexOutOfBoundsException if the index is out of range */ public static Method getMethodForIndex(int index, Class<?> declaringClass) { return getDeclaredMethods(declaringClass).get(index); }
/** * @param index * @param declaringClass * @return the declared method for the given index and declaring class * @throws IndexOutOfBoundsException if the index is out of range */ public static Method getMethodForIndex(int index, Class<?> declaringClass) { return getDeclaredMethods(declaringClass).get(index); }
/** * @param index * @param declaringClass * @return the declared method for the given index and declaring class * @throws IndexOutOfBoundsException if the index is out of range */ public static Method getMethodForIndex(int index, Class<?> declaringClass) { return getDeclaredMethods(declaringClass).get(index); }
/** * @param index * @param declaringClass * @return the declared method for the given index and declaring class * @throws IndexOutOfBoundsException if the index is out of range */ public static Method getMethodForIndex(int index, Class<?> declaringClass) { return getDeclaredMethods(declaringClass).get(index); }
/** * @param index * @param declaringClass * @return the declared method for the given index and declaring class * @throws IndexOutOfBoundsException if the index is out of range */ public static Method getMethodForIndex(int index, Class<?> declaringClass) { return getDeclaredMethods(declaringClass).get(index); }
/** * @param index * @param declaringClass * @return the declared method for the given index and declaring class * @throws IndexOutOfBoundsException if the index is out of range */ public static Method getMethodForIndex(int index, Class<?> declaringClass) { return getDeclaredMethods(declaringClass).get(index); }
/** * @param method * @return the index for the given method */ public static int getIndexForMethod(Method method) { Preconditions.checkNotNull(method); return getIndexForMember(method, getDeclaredMethods(method.getDeclaringClass())); }
/** * @param method * @return the index for the given method */ public static int getIndexForMethod(Method method) { Preconditions.checkNotNull(method); return getIndexForMember(method, getDeclaredMethods(method.getDeclaringClass())); }
/** * @param method * @return the index for the given method */ public static int getIndexForMethod(Method method) { Preconditions.checkNotNull(method); return getIndexForMember(method, getDeclaredMethods(method.getDeclaringClass())); }
/** * @param method * @return the index for the given method */ public static int getIndexForMethod(Method method) { Preconditions.checkNotNull(method); return getIndexForMember(method, getDeclaredMethods(method.getDeclaringClass())); }
/** * @param method * @return the index for the given method */ public static int getIndexForMethod(Method method) { Preconditions.checkNotNull(method); return getIndexForMember(method, getDeclaredMethods(method.getDeclaringClass())); }
/** * @param method * @return the index for the given method */ public static int getIndexForMethod(Method method) { Preconditions.checkNotNull(method); return getIndexForMember(method, getDeclaredMethods(method.getDeclaringClass())); }