code: public void analyze() {
          final Resources resources = new ProjectAnalyzer(analysis.classPaths)
                  .analyze(analysis.projectClassPaths, analysis.projectSourcePaths, analysis.ignoredResources);
  
          if (resources.isEmpty()) {
              LogProvider.info("Empty JAX-RS analysis result, omitting output");
              return;
          }
  
          final Project project = new Project(analysis.projectName, analysis.projectVersion, resources);
          final byte[] output = analysis.backend.render(project);
  
          if (analysis.outputLocation != null) {
              outputToFile(output, analysis.outputLocation);
          } else {
              outputToConsole(output);
          }
      }
docs: Analyzes the JAX-RS project at the class path and produces the output as configured.