Fully qualified class name where the visibility of a descriptor is evaluated. For example, when checking build steps to be exposed to a free style job, context is hudson.model.FreeStyleProject. You can then forbid use of maven build step by excluding hudson.tasks.Maven$DescriptorImpl in this context.

Use jenkins.model.Jenkins to hide global configuration for an extension. Only affect descriptors, not extensions without web frontend.