Searched refs:optionClass (Results 1 – 4 of 4) sorted by relevance
456 JSONObject optionClass = usage.getJSONObject(i); in testGetJsonCommandUsage() local459 assertTrue("Usage element does not contain a 'name' value", optionClass.has("name")); in testGetJsonCommandUsage()460 assertTrue("Usage element does not contain a 'class' value", optionClass.has("class")); in testGetJsonCommandUsage()462 optionClass.has("options")); in testGetJsonCommandUsage()465 JSONArray options = optionClass.getJSONArray("options"); in testGetJsonCommandUsage()484 String name = optionClass.getString("name"); in testGetJsonCommandUsage()488 jsonConfigObject = optionClass; in testGetJsonCommandUsage()
568 static Collection<Field> getOptionFieldsForClass(final Class<?> optionClass) { in getOptionFieldsForClass() argument570 buildOptionFieldsForClass(optionClass, fieldList); in getOptionFieldsForClass()581 private static void buildOptionFieldsForClass(final Class<?> optionClass, in buildOptionFieldsForClass() argument583 for (Field field : optionClass.getDeclaredFields()) { in buildOptionFieldsForClass()588 Class<?> superClass = optionClass.getSuperclass(); in buildOptionFieldsForClass()
782 static Collection<Field> getOptionFieldsForClass(final Class<?> optionClass) { in getOptionFieldsForClass() argument784 buildOptionFieldsForClass(optionClass, fieldList); in getOptionFieldsForClass()795 private static void buildOptionFieldsForClass(final Class<?> optionClass, in buildOptionFieldsForClass() argument797 for (Field field : optionClass.getDeclaredFields()) { in buildOptionFieldsForClass()802 Class<?> superClass = optionClass.getSuperclass(); in buildOptionFieldsForClass()
1229 OptionClass optionClass = optionObject.getClass() in getJsonCommandUsage() local1231 alias = optionClass.alias(); in getJsonCommandUsage()