Type annotation queries

Plugins can query the schema to find all types annotated with a given annotation in the current application.

Annotations are applied using requirements.schema files.

Schema query

function SCHEMA.getTypesWithAnnotation(annotation)

Returns an array of every Ref of types with the given annotation.