Home | History | Annotate | Download | only in args

Lines Matching defs:REQUIRED

101             if (optdef.isRequired ()) line.append ("{required} ");
335 // validation: all required parameters must be specified
337 final Set /* String(canonical name) */ required = new HashSet ();
338 required.addAll (m_metadata.getRequiredOpts ());
342 required.remove (specified [s].getCanonicalName ());
345 if (! required.isEmpty ())
347 for (Iterator i = required.iterator (); i.hasNext (); )
349 opts.addError (formatMessage ("missing required option \'" + (String) i.next () + "\'"));
842 void setRequired (final boolean required)
844 m_required = required;
1028 * ("optional" | "required" )
1108 throw new IllegalArgumentException ("parse error: invalid token " + m_token + ", expected " + Token.REQUIRED + " or " + Token.OPTIONAL);
1388 KEYWORDS.put (Token.REQUIRED.getValue (), Token.REQUIRED);
1483 static final Token REQUIRED = new Token (REQUIRED_ID, "required");
1567 throw new IllegalArgumentException ("option [" + optdef.getCanonicalName () + "] specifies a required option [" + excludes [x] + "] in its \'excludes\' set");