public void addCapture(InferenceVariable[] typeParameters, PsiClassType rightType) {
    myCaptures.add(Pair.create(typeParameters, rightType));
  }
public void addCapture(InferenceVariable[] typeParameters, PsiClassType rightType)