@Override
    protected Object[] getVariants(@NotNull PsiReferenceBase reference) {
      return MavenProjectsManager.getInstance(reference.getElement().getProject()).getAvailableProfiles().toArray();
    }
@Override
    protected Object[] getVariants(@NotNull PsiReferenceBase reference)