public class InferenceIncorporationPhase
extends java.lang.Object
Constructor and Description |
---|
InferenceIncorporationPhase(InferenceSession session) |
Modifier and Type | Method and Description |
---|---|
void |
addBound(InferenceVariable variable,
PsiType type,
InferenceBound bound) |
void |
addCapture(InferenceVariable[] typeParameters,
PsiClassType rightType) |
void |
collectCaptureDependencies(InferenceVariable variable,
java.util.Set<? super InferenceVariable> dependencies) |
void |
forgetCaptures(java.util.List<? extends InferenceVariable> variables) |
java.util.List<Pair<InferenceVariable[],PsiClassType>> |
getCaptures() |
boolean |
hasCaptureConstraints(java.lang.Iterable<? extends InferenceVariable> variables) |
boolean |
incorporate() |
protected void |
upDown(java.util.List<? extends PsiType> lowerBounds,
java.util.Collection<? extends PsiType> changedLowerBounds,
java.util.List<? extends PsiType> upperBounds,
java.util.Collection<? extends PsiType> changedUpperBounds) |
public InferenceIncorporationPhase(InferenceSession session)
public void addCapture(InferenceVariable[] typeParameters, PsiClassType rightType)
public void forgetCaptures(java.util.List<? extends InferenceVariable> variables)
public boolean hasCaptureConstraints(java.lang.Iterable<? extends InferenceVariable> variables)
public void collectCaptureDependencies(InferenceVariable variable, java.util.Set<? super InferenceVariable> dependencies)
public java.util.List<Pair<InferenceVariable[],PsiClassType>> getCaptures()
public boolean incorporate()
protected void upDown(java.util.List<? extends PsiType> lowerBounds, java.util.Collection<? extends PsiType> changedLowerBounds, java.util.List<? extends PsiType> upperBounds, java.util.Collection<? extends PsiType> changedUpperBounds)
public void addBound(InferenceVariable variable, PsiType type, InferenceBound bound)