9596979899100101102103104105
while (currentType != null) { // then process the fields for (Field field : currentType.getDeclaredFields()) { visit(field, new FieldContextImpl(context, field)); } // then the methods for (Method method : currentType.getDeclaredMethods()) {