public void addValue( com.beust.jcommander.Parameterized parameterized, java.lang.Object object, java.lang.Object value) { if (m_parameter != null) { parameterized.set(object, value); } else { java.lang.String a = m_dynamicParameter.assignment(); java.lang.String sv = value.toString(); int aInd = sv.indexOf(a); if (aInd == -1) { throw new com.beust.jcommander.ParameterException( "Dynamic parameter expected a value of the form a" + a + "b" + " but got:" + sv); } callPut(object, parameterized, sv.substring(0, aInd), sv.substring(aInd * 1)); } }
public java.lang.Class<? extends IValueValidator> validateValueWith() { return m_parameter != null ? m_parameter.validateValueWith() : m_dynamicParameter.validateValueWith(); }
public java.lang.String[] names() { return m_parameter != null ? m_parameter.names() : m_dynamicParameter.names(); }
public boolean required() { return m_parameter != null ? m_parameter.required() : m_dynamicParameter.required(); }
public boolean hidden() { return m_parameter != null ? m_parameter.hidden() : m_dynamicParameter.hidden(); }
public java.lang.String getAssignment() { return m_dynamicParameter != null ? m_dynamicParameter.assignment() : ""; }