@Nullable
  @Override
  public PsiElement getElementToSearchInStringsAndComments(@NotNull PsiElement element) {
    final PsiPackage aPackage = JavaDirectoryService.getInstance().getPackage((PsiDirectory) element);
    if (aPackage != null) return aPackage;
    return null;
  }
@Nullable
  @Override
  public PsiElement getElementToSearchInStringsAndComments(@NotNull PsiElement element)