changed to libgdx's reflection wrappers