@Override
  public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file) {
    return myRef.isValid() && MavenDomUtil.findContainingProject(file) != null && looksLikeClassName(getReferenceText());
  }
@Override
  public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file)