Code example for Method

Methods: getModifiersgetNameisBridge

0
        } 
        return methods; 
    } 
 
    private static boolean isMatchedMethod(final String methodName, final Method candidate) { 
        return !candidate.isBridge() && Modifier.isPublic(candidate.getModifiers()) 
                && candidate.getName().equals(methodName); 
    } 
 
    private static Method findMethodInSuperClass(final Class<?> clazz, final String methodName) { 
        final Class<?> superClass = clazz.getSuperclass(); 
        if (superClass == null) { 
            return null; 
        } 
 
        Method method = findMethod(superClass, methodName); 
        if (method == null) { 
            method = findMethodInSuperClass(superClass, methodName); 
        }