< prev index next >
src/java.base/share/classes/java/lang/reflect/ReflectAccess.java
Print this page
@@ -145,6 +145,17 @@
}
public <T> Constructor<T> copyConstructor(Constructor<T> arg) {
return arg.copy();
}
+
+ //
+ // Comparing / Hashing Method parameter types
+ //
+ public boolean methodParameterTypesEquals(Method method1, Method method2) {
+ return method1.parameterTypesEquals(method2);
+ }
+
+ public int methodParameterTypesHashCode(Method method) {
+ return method.parameterTypesHashCode();
+ }
}
< prev index next >