GROOVY-6990: Do not generate call site array if it's not used
GROOVY-6990: Do not generate $swapInit if not used
GROOVY-6990: Do not generate class$ method if not necessary