reflection helper fix after bug caused by checkstyle fix