< prev index next >

src/java.base/share/classes/sun/reflect/ReflectionFactory.java

Print this page

        

@@ -320,10 +320,20 @@
      */
     public byte[] getExecutableTypeAnnotationBytes(Executable ex) {
         return langReflectAccess().getExecutableTypeAnnotationBytes(ex);
     }
 
+    /** Compares parameter types of two Methods */
+    public boolean methodParameterTypesEquals(Method method1, Method method2) {
+        return langReflectAccess().methodParameterTypesEquals(method1, method2);
+    }
+
+    /** Returns hashCode for parameter types of a Method */
+    public int methodParameterTypesHashCode(Method method) {
+        return langReflectAccess().methodParameterTypesHashCode(method);
+    }
+
     //--------------------------------------------------------------------------
     //
     // Routines used by serialization
     //
     //
< prev index next >