32 import java.io.IOException;
33 import java.lang.reflect.Field;
58 StringBuilder sb =
new StringBuilder();
59 sb.append(
"State of the: ").append(
60 this.getClass().getSimpleName()).append(
"\n");
61 for (Class cls = this.getClass();
63 cls = cls.getSuperclass()) {
64 for (Field f : cls.getDeclaredFields()) {
66 f.setAccessible(
true);
67 sb.append(f.getName()).append(
" : ").
68 append(f.get(
this)).append(
"\n");
69 }
catch (IllegalAccessException e) {
91 private BuildType(
int compareOrder, String pathSuffix) {
92 this.compareOrder = compareOrder;
93 this.pathSuffix = pathSuffix;
111 public static void main(
final String[] args)
throws IOException {