public class CheckedExceptionCompatibilityConstraint extends InputOutputConstraintFormula
Constructor and Description |
---|
CheckedExceptionCompatibilityConstraint(PsiExpression expression,
PsiType t) |
Modifier and Type | Method and Description |
---|---|
protected void |
collectReturnTypeVariables(InferenceSession session,
PsiExpression psiExpression,
PsiType returnType,
java.util.Set<? super InferenceVariable> result) |
protected InputOutputConstraintFormula |
createSelfConstraint(PsiType type,
PsiExpression expression) |
PsiExpression |
getExpression() |
boolean |
reduce(InferenceSession session,
java.util.List<? super ConstraintFormula> constraints) |
apply, getCurrentType, getInputVariables, getOutputVariables, toString
public CheckedExceptionCompatibilityConstraint(PsiExpression expression, PsiType t)
public boolean reduce(InferenceSession session, java.util.List<? super ConstraintFormula> constraints)
public PsiExpression getExpression()
getExpression
in class InputOutputConstraintFormula
protected InputOutputConstraintFormula createSelfConstraint(PsiType type, PsiExpression expression)
createSelfConstraint
in class InputOutputConstraintFormula
protected void collectReturnTypeVariables(InferenceSession session, PsiExpression psiExpression, PsiType returnType, java.util.Set<? super InferenceVariable> result)
collectReturnTypeVariables
in class InputOutputConstraintFormula