remove reflection use and use @IndexAnnotated in maven plugin