public static boolean isPublicStatic(Method m) {
        final int modifiers = m.getModifiers();
        return Modifier.isPublic(modifiers) && Modifier.isStatic(modifiers);
    }
public static boolean isPublicStatic ( Method m ) { final int modifiers = m . getModifiers ( ) ; return Modifier . isPublic ( modifiers ) && Modifier . isStatic ( modifiers ) ; }
Determine whether the method is declared public static
@param m
@return true if the method is declared public static