Documentation

Edit

fragments

Possible fields are apple, cpp, java, jvm and objc. Access a specific fragment by its field name ex:

ctx.fragments.apple

Note that rules have to declare their required fragments in order to access them (see here).