add getField method in DynamicExecutor