In my opinion this is a separate task, it is not only about inferring the names of entity fields. Injection on those fields with reflection should ideally be avoided.