Class Parameterized

java.lang.Object
com.beust.jcommander.Parameterized

public class Parameterized extends Object
Encapsulate a field or a method annotated with @Parameter or @DynamicParameter
  • Constructor Details

  • Method Details

    • parseArg

      public static List<Parameterized> parseArg(Object arg)
    • getWrappedParameter

      public WrappedParameter getWrappedParameter()
    • getType

      public Class<?> getType()
    • getName

      public String getName()
    • get

      public Object get(Object object)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • isDynamicParameter

      public boolean isDynamicParameter(Field field)
    • set

      public void set(Object object, Object value)
    • getDelegateAnnotation

      public ParametersDelegate getDelegateAnnotation()
    • getGenericType

      public Type getGenericType()
    • getParameter

      public Parameter getParameter()
    • findFieldGenericType

      public Type findFieldGenericType()
      Returns:
      the generic type of the collection for this field, or null if not applicable.
    • isDynamicParameter

      public boolean isDynamicParameter()