Cascade doesn't propose fixes for some of the purity error messages that the nullness checker reports. Below is one such error message.
warning: [purity.invalid.overriding] String toString(BiGraph this) in em3d.BiGraph cannot override String toString(Object this) in java.lang.Object; attempting to use an incompatible purity declaration
public String toString() {
^
found : []
required: [SIDE_EFFECT_FREE]
In this case, the fix would be to simply annotate the toString method as @SideEffectFree.
Cascade doesn't propose fixes for some of the purity error messages that the nullness checker reports. Below is one such error message.
In this case, the fix would be to simply annotate the
toStringmethod as@SideEffectFree.