Searched refs:optionClass (Results 1 – 4 of 4) sorted by relevance
450 JSONObject optionClass = usage.getJSONObject(i); in testGetJsonCommandUsage() local453 assertTrue("Usage element does not contain a 'name' value", optionClass.has("name")); in testGetJsonCommandUsage()454 assertTrue("Usage element does not contain a 'class' value", optionClass.has("class")); in testGetJsonCommandUsage()456 optionClass.has("options")); in testGetJsonCommandUsage()459 JSONArray options = optionClass.getJSONArray("options"); in testGetJsonCommandUsage()478 String name = optionClass.getString("name"); in testGetJsonCommandUsage()482 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()
758 static Collection<Field> getOptionFieldsForClass(final Class<?> optionClass) { in getOptionFieldsForClass() argument760 buildOptionFieldsForClass(optionClass, fieldList); in getOptionFieldsForClass()771 private static void buildOptionFieldsForClass(final Class<?> optionClass, in buildOptionFieldsForClass() argument773 for (Field field : optionClass.getDeclaredFields()) { in buildOptionFieldsForClass()778 Class<?> superClass = optionClass.getSuperclass(); in buildOptionFieldsForClass()
1147 OptionClass optionClass = optionObject.getClass() in getJsonCommandUsage() local1149 alias = optionClass.alias(); in getJsonCommandUsage()