GROOVY-6189: extended SAM conversion to include protected methods