@Override
  public @Nullable PsiReference getContextReference() {
    return myIndex > 0 ? myJavaClassReferenceSet.getReference(myIndex - 1) : null;
  }
@Override
  public @Nullable PsiReference getContextReference()