package com.beust.jcommander;

import java.util.List;

/**
 *
 * @author Tim Gallagher
 */
public interface IParameterizedParser {
  
  /**
   * Parses the given object for any command line related annotations and returns the list of 
   * JCommander Parameterized definitions.
   * 
   * @param arg the object that contains the annotations.
   * @return non-null List but may be empty
   */
  List<Parameterized> parseArg(Object arg);
  
}

@@ -61,12 +61,377 @@
 **%0D%0A
+ * Thin interface allows the Parameterized parsing mechanism, which reflects an object to find the %0D%0A * JCommander annotations, to be replaced at runtime for cases where the source code can not%0D%0A * be directly annotated with JCommander annotations, but may have other annotations such as %0D%0A * Json annotations that can be used to reflect as JCommander parameters.%0D%0A
  *%0D%0A
-
  * @
@@ -669,18 +669,27 @@
 @param a
-rg
+nnotatedObj
  the obj
@@ -815,18 +815,27 @@
 Object a
-rg
+nnotatedObj
 );%0D%0A  %0D%0A

Update IParameterizedParser.java