for (Class clazz : optionsClasses) { try { options.addAll(Arrays.stream(scrapeFields(clazz)) .map(field -> { Annotation[] annotations = field.getAnnotationsByType(Option.class);
Field[] fields; try { fields = scrapeFields(c); } catch (Throwable e) { debug("Could not check fields for class: " + c.getName() + " (caused by " + e.getClass() + ": " + e.getMessage() + ')');
for (Class clazz : optionsClasses) { try { options.addAll(Arrays.stream(scrapeFields(clazz)) .map(field -> { Annotation[] annotations = field.getAnnotationsByType(Option.class);
for (Class clazz : optionsClasses) { try { options.addAll(Arrays.stream(scrapeFields(clazz)) .map(field -> { Annotation[] annotations = field.getAnnotationsByType(Option.class);
Field[] fields; try { fields = scrapeFields(c); } catch (Throwable e) { debug("Could not check fields for class: " + c.getName() + " (caused by " + e.getClass() + ": " + e.getMessage() + ')');
Field[] fields; try { fields = scrapeFields(c); } catch (Throwable e) { debug("Could not check fields for class: " + c.getName() + " (caused by " + e.getClass() + ": " + e.getMessage() + ')');