jodd-core/src/main/java/jodd/util/ClassUtil.java
public static boolean compareSignatures(final Method first, final Method second) {
		if (!first.getName().equals(second.getName())) {
			return false;
		}
		return compareParameters(first.getParameterTypes(), second.getParameterTypes());
	}
public static boolean compareSignatures(final Method first, final Method second) {
		if (!first.getName().equals(second.getName())) {
			return false;
		}
		return compareParameters(first.getParameterTypes(), second.getParameterTypes());
	}
public static boolean compareSignatures ( final Method first , final Method second ) { if ( ! first . getName ( ) . equals ( second . getName ( ) ) ) { return false ; } return compareParameters ( first . getParameterTypes ( ) , second . getParameterTypes ( ) ) ; }
Compares method signatures: names and parameters.
Compares method signatures : names and parameters .