jodd-core/src/main/java/jodd/util/ClassUtil.java
public static boolean compareDeclarations(final Method first, final Method second) {
		if (first.getReturnType() != second.getReturnType()) {
			return false;
		}
		return compareSignatures(first, second);
	}
public static boolean compareDeclarations(final Method first, final Method second) {
		if (first.getReturnType() != second.getReturnType()) {
			return false;
		}
		return compareSignatures(first, second);
	}
public static boolean compareDeclarations ( final Method first , final Method second ) { if ( first . getReturnType ( ) != second . getReturnType ( ) ) { return false ; } return compareSignatures ( first , second ) ; }
Compares method declarations: signature and return types.
Compares method declarations : signature and return types .