code: static ClassProcessor createProcessor(
              final ClassLoader classLoader,
              final String processorClassName)
              throws MojoExecutionException {
          try {
              final Object classProcessor = classLoader.loadClass(processorClassName).newInstance();
              if (classProcessor instanceof ClassProcessor) {
                  return (ClassProcessor) classProcessor;
              }
              throw new MojoExecutionException("Invalid class processor: " + processorClassName);
          } catch (final ClassNotFoundException e) {
              throw new MojoExecutionException("Class processor not found: " + processorClassName, e);
              // CHECKSTYLE.OFF: IllegalCatch
          } catch (final Exception e) {
              // CHECKSTYLE.ON: IllegalCatch
              throw new MojoExecutionException("Unable to instantiate processor: " + processorClassName, e);
          }
      }
docs: /* package private