mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[groovy] better #toString for TypeDfaState, DFAType and Mixin
This commit is contained in:
+2
-9
@@ -38,11 +38,7 @@ public class DFAType {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Mixin{" +
|
||||
"myType=" + myType +
|
||||
", myCondition=" + myCondition +
|
||||
", myNegated=" + myNegated +
|
||||
'}';
|
||||
return (myNegated ? "!" : "") + myType;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -174,9 +170,6 @@ public class DFAType {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "DFAType{" +
|
||||
"primary=" + primary +
|
||||
", mixins=" + mixins +
|
||||
'}';
|
||||
return "{" + primary + " : " + mixins + "}";
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -113,7 +113,7 @@ class TypeDfaState {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TypeDfaState{" + myVarTypes + '}';
|
||||
return myVarTypes.toString();
|
||||
}
|
||||
|
||||
public boolean containsVariable(@NotNull String variableName) {
|
||||
|
||||
Reference in New Issue
Block a user