code: @Override
      public boolean accept(File pathname) {
          boolean accept = super.accept(pathname);
          if (accept) {
              try {
                  accept &= shouldProcess(pathname);
              } catch (AnalysisException ex) {
                  throw new UnexpectedAnalysisException(ex.getMessage(), ex.getCause());
              }
          }
          return accept;
      }
docs: Determines if the file can be analyzed by the analyzer.
  
  @param pathname the path to the file
  @return true if the file can be analyzed by the given analyzer; otherwise
  false