code: public MisplacedClassProcessor getProcessorForName(String name) {
      if (name == null) {
        return getDefaultProcessor();
      }
  
      switch (Strategy.valueOf(name.toUpperCase())) {
        case FATAL: return new FatalMisplacedClassProcessor();
        case MOVE: return new MoveMisplacedClassProcessor();
        case OMIT: return new OmitMisplacedClassProcessor();
        case SKIP: return new SkipMisplacedClassProcessor();
      }
  
      throw new IllegalArgumentException("Unrecognized strategy name \"" + name + "\".");
    }
docs: Creates a MisplacedClassProcessor according for the given strategy name.
  
  @param name The case-insensitive user-level strategy name (see the STRATEGY_* constants).
  @return The MisplacedClassProcessor corresponding to the strategy name, or the result of
  getDefaultProcessor() if name is null.
  @throws IllegalArgumentException if an unrecognized non-null strategy name is specified.