[JENKINS-22969] Eliminate @CLIMethod usage in core

Using branch in jenkinsci/jenkins so everyone can help...