Class DefaultParameterizedParser

java.lang.Object
com.beust.jcommander.parser.DefaultParameterizedParser
All Implemented Interfaces:
IParameterizedParser

public class DefaultParameterizedParser extends Object implements IParameterizedParser
Pulled from the JCommander where is reflects the object to determine the Parameter annotations.
  • Constructor Details

    • DefaultParameterizedParser

      public DefaultParameterizedParser()
  • Method Details

    • parseArg

      public List<Parameterized> parseArg(Object annotatedObj)
      Wraps the default parser.
      Specified by:
      parseArg in interface IParameterizedParser
      Parameters:
      annotatedObj - an instance of the object with Parameter related annotations.
      Returns:
      non-null List but may be empty