< prev index next >

modules/javafx.base/src/main/java/com/sun/javafx/reflect/MethodUtil.java

Print this page
rev 10442 : [mq]: fix-v1-8177566-trampoline

@@ -87,28 +87,31 @@
 
     private MethodUtil() {
         super();
     }
 
-    public static Method getMethod(Class<?> cls, String name, Class<?>[] args)
+    /*public*/
+    static Method getMethod(Class<?> cls, String name, Class<?>[] args)
         throws NoSuchMethodException {
         ReflectUtil.checkPackageAccess(cls);
         return cls.getMethod(name, args);
     }
 
-    public static Method[] getMethods(Class<?> cls) {
+    /*public*/
+    static Method[] getMethods(Class<?> cls) {
         ReflectUtil.checkPackageAccess(cls);
         return cls.getMethods();
     }
 
     /*
      * Discover the public methods on public classes
      * and interfaces accessible to any caller by calling
      * Class.getMethods() and walking towards Object until
      * we're done.
      */
-     public static Method[] getPublicMethods(Class<?> cls) {
+    /*public*/
+    static Method[] getPublicMethods(Class<?> cls) {
         // compatibility for update release
         if (System.getSecurityManager() == null) {
             return cls.getMethods();
         }
         Map<Signature, Method> sigs = new HashMap<Signature, Method>();
< prev index next >