public abstract class InputOutputConstraintFormula extends java.lang.Object implements ConstraintFormula
Modifier | Constructor and Description |
---|---|
protected |
InputOutputConstraintFormula(PsiType t) |
Modifier and Type | Method and Description |
---|---|
void |
apply(PsiSubstitutor substitutor,
boolean cache) |
protected abstract void |
collectReturnTypeVariables(InferenceSession session,
PsiExpression psiExpression,
PsiType returnType,
java.util.Set<? super InferenceVariable> result) |
protected abstract InputOutputConstraintFormula |
createSelfConstraint(PsiType type,
PsiExpression expression) |
PsiType |
getCurrentType() |
abstract PsiExpression |
getExpression() |
java.util.Set<InferenceVariable> |
getInputVariables(InferenceSession session) |
java.util.Set<InferenceVariable> |
getOutputVariables(java.util.Set<InferenceVariable> inputVariables,
InferenceSession session) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
reduce
protected InputOutputConstraintFormula(PsiType t)
public abstract PsiExpression getExpression()
protected abstract InputOutputConstraintFormula createSelfConstraint(PsiType type, PsiExpression expression)
protected abstract void collectReturnTypeVariables(InferenceSession session, PsiExpression psiExpression, PsiType returnType, java.util.Set<? super InferenceVariable> result)
public java.util.Set<InferenceVariable> getInputVariables(InferenceSession session)
public java.util.Set<InferenceVariable> getOutputVariables(java.util.Set<InferenceVariable> inputVariables, InferenceSession session)
public void apply(PsiSubstitutor substitutor, boolean cache)
apply
in interface ConstraintFormula
public PsiType getCurrentType()
public java.lang.String toString()
toString
in class java.lang.Object