added ConstraintSystemTest
This commit is contained in:
@@ -376,7 +376,7 @@ public class Renderers {
|
||||
typeBounds.add(constraintSystem.getTypeBounds(variable));
|
||||
}
|
||||
Function<TypeBounds, String> renderTypeBounds = rendererToFunction(RENDER_TYPE_BOUNDS);
|
||||
return "type parameter bounds: \n" + StringUtil.join(typeBounds, renderTypeBounds, ";\n") + "\n" +
|
||||
return "type parameter bounds:\n" + StringUtil.join(typeBounds, renderTypeBounds, ";\n") + "\n" +
|
||||
"status:\n" + ConstraintsUtil.getDebugMessageForStatus(constraintSystem.getStatus());
|
||||
}
|
||||
};
|
||||
|
||||
+6
@@ -123,6 +123,12 @@ public class ConstraintsUtil {
|
||||
interestingMethods.add(method);
|
||||
}
|
||||
}
|
||||
Collections.sort(interestingMethods, new Comparator<Method>() {
|
||||
@Override
|
||||
public int compare(@NotNull Method method1, @NotNull Method method2) {
|
||||
return method1.getName().compareTo(method2.getName());
|
||||
}
|
||||
});
|
||||
for (Iterator<Method> iterator = interestingMethods.iterator(); iterator.hasNext(); ) {
|
||||
Method method = iterator.next();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user