mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
toString
This commit is contained in:
+1
-1
@@ -118,6 +118,6 @@ public abstract class InputOutputConstraintFormula implements ConstraintFormula
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "T: " + getT().getCanonicalText() + "; expr : " + getExpression().getText();
|
||||
return getExpression().getText() + " -> " + getT().getPresentableText();
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -80,6 +80,6 @@ public class LambdaExpressionCompatibilityConstraint implements ConstraintFormul
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "T: " + myT.getCanonicalText() +"; expr: " + myExpression.getText();
|
||||
return myExpression.getText() + " -> " + myT.getPresentableText();
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -234,6 +234,6 @@ public class PsiMethodReferenceCompatibilityConstraint implements ConstraintForm
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "T: " + myT.getCanonicalText() +"; expr: " + myExpression.getText();
|
||||
return myExpression.getText() + " -> " + myT.getPresentableText();
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -144,6 +144,6 @@ public class StrictSubtypingConstraint implements ConstraintFormula {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "T: " + myT.getCanonicalText() +"; myS: " + myS.getCanonicalText();
|
||||
return myS.getPresentableText() + " < " + myT.getPresentableText();
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -131,6 +131,6 @@ public class SubtypingConstraint implements ConstraintFormula {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "T: " + myT.getCanonicalText() +"; myS: " + myS.getCanonicalText();
|
||||
return myS.getPresentableText() + " <= " + myT.getPresentableText();
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -111,6 +111,6 @@ public class TypeCompatibilityConstraint implements ConstraintFormula {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "T: " + myT.getCanonicalText() +"; myS: " + myS.getCanonicalText();
|
||||
return myS.getPresentableText() + " -> " + myT.getPresentableText();
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -148,6 +148,6 @@ public class TypeEqualityConstraint implements ConstraintFormula {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "T: " + myT.getCanonicalText() +"; myS: " + myS.getCanonicalText();
|
||||
return myT.getPresentableText() + " == " + myS.getPresentableText();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user