warn on reflection, type-hinted
replaced apache string escape with davidsantiago's string escape