mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
toString
This commit is contained in:
+5
@@ -115,4 +115,9 @@ public abstract class InputOutputConstraintFormula implements ConstraintFormula
|
||||
}
|
||||
map.put(getExpression(), getT());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "T: " + getT().getCanonicalText() + "; expr : " + getExpression().getText();
|
||||
}
|
||||
}
|
||||
|
||||
+5
@@ -77,4 +77,9 @@ public class LambdaExpressionCompatibilityConstraint implements ConstraintFormul
|
||||
public void apply(PsiSubstitutor substitutor) {
|
||||
myT = substitutor.substitute(myT);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "T: " + myT.getCanonicalText() +"; expr: " + myExpression.getText();
|
||||
}
|
||||
}
|
||||
|
||||
+5
@@ -231,4 +231,9 @@ public class PsiMethodReferenceCompatibilityConstraint implements ConstraintForm
|
||||
public void apply(PsiSubstitutor substitutor) {
|
||||
myT = substitutor.substitute(myT);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "T: " + myT.getCanonicalText() +"; expr: " + myExpression.getText();
|
||||
}
|
||||
}
|
||||
|
||||
+5
@@ -141,4 +141,9 @@ public class StrictSubtypingConstraint implements ConstraintFormula {
|
||||
result = 31 * result + (myT != null ? myT.hashCode() : 0);
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "T: " + myT.getCanonicalText() +"; myS: " + myS.getCanonicalText();
|
||||
}
|
||||
}
|
||||
|
||||
+5
@@ -128,4 +128,9 @@ public class SubtypingConstraint implements ConstraintFormula {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "T: " + myT.getCanonicalText() +"; myS: " + myS.getCanonicalText();
|
||||
}
|
||||
}
|
||||
|
||||
+5
@@ -108,4 +108,9 @@ public class TypeCompatibilityConstraint implements ConstraintFormula {
|
||||
result = 31 * result + myS.hashCode();
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "T: " + myT.getCanonicalText() +"; myS: " + myS.getCanonicalText();
|
||||
}
|
||||
}
|
||||
|
||||
+5
@@ -145,4 +145,9 @@ public class TypeEqualityConstraint implements ConstraintFormula {
|
||||
result = 31 * result + (myS != null ? myS.hashCode() : 0);
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "T: " + myT.getCanonicalText() +"; myS: " + myS.getCanonicalText();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user