BUG 4930 & BUG 4017: Allow multiple refine statements in MXBean generation