if (!DynamicVariable.class.isAssignableFrom(field.getType())) {
continue;
}
final DynamicVariable var = (DynamicVariable) field.get(obj);
Preconditions.checkNotNull(var, field.getName() + " is null!");
var.setName(shortName(aClass, className, field) + "." + field.getName());
global.registerVariable(var, field);
}
} catch (IllegalAccessException e) {
throw new RuntimeException(e);