Skip to content

Redirect Sets

Tom Martin edited this page Jul 9, 2025 · 1 revision

A redirect set describes how a method or class should be changed when a transform is applied. It can contain any number of containers

More information is available in the javadoc for @RedirectSet

Caution

Redirect sets cannot be referenced at runtime, any attempt to access them or any of their inner classes will result in NoClassDefFoundError or similar.

Example:

@RedirectSet
interface MainSet {
    // Define containers and redirects here
}

Clone this wiki locally