public static Method findStaticMethod(Class<?> type,String name,Class<?>... args) throws NoSuchMethodException {
  Method method=findMethod(type,name,args);
  if (!Modifier.isStatic(method.getModifiers())) {
    throw new NoSuchMethodException("Method '" + name + "' is not static");
  }
  return method;
}

public static Method findStaticMethod ( Class < ? > type , String name , Class < ? > ... args ) throws NoSuchMethodException { Method method = findMethod ( type , name , args ) ; if ( ! Modifier . isStatic ( method . getModifiers ( ) ) ) { throw new NoSuchMethodException ( "Method '" + name + "' is not static" ) ; } return method ; }
finds public static method that is accessible from public class .
