boolean (Class<?> aClass) { if (aClass == null) return false; final String throwableClassName = aClass.getName(); if (throwableClassName.equals(JUNIT_FRAMEWORK_COMPARISON_NAME) || throwableClassName.equals(ORG_JUNIT_COMPARISON_NAME) || throwableClassName.equals(ComparisonFailureData.OPENTEST4J_ASSERTION)) { return true; } return isComparisonFailure(aClass.getSuperclass()); }