@Override
      public boolean accepts(final @NotNull T t, final ProcessingContext context) {
        PsiDirectory directory = t.getContainingDirectory();
        return directory != null && namePattern.accepts(directory.getName(), context);
      }
@Override
      public boolean accepts(final @NotNull T t, final ProcessingContext context)