public class PsiMethodReferenceCompatibilityConstraint extends java.lang.Object implements ConstraintFormula
Constructor and Description |
---|
PsiMethodReferenceCompatibilityConstraint(PsiMethodReferenceExpression expression,
PsiType t) |
Modifier and Type | Method and Description |
---|---|
void |
apply(PsiSubstitutor substitutor,
boolean cache) |
static PsiSubstitutor |
getSubstitutor(MethodSignature signature,
PsiMethodReferenceUtil.QualifierResolveResult qualifierResolveResult,
PsiMember member,
PsiClass containingClass,
PsiMethodReferenceExpression methodReferenceExpression) |
boolean |
reduce(InferenceSession session,
java.util.List<? super ConstraintFormula> constraints) |
java.lang.String |
toString() |
public PsiMethodReferenceCompatibilityConstraint(PsiMethodReferenceExpression expression, PsiType t)
public boolean reduce(InferenceSession session, java.util.List<? super ConstraintFormula> constraints)
reduce
in interface ConstraintFormula
public static PsiSubstitutor getSubstitutor(MethodSignature signature, PsiMethodReferenceUtil.QualifierResolveResult qualifierResolveResult, PsiMember member, PsiClass containingClass, PsiMethodReferenceExpression methodReferenceExpression)
public void apply(PsiSubstitutor substitutor, boolean cache)
apply
in interface ConstraintFormula
public java.lang.String toString()
toString
in class java.lang.Object