The effect of annotations on Gosu rules
Guidewire marks certain
Gosu code in the base application with the @scriptable-ui annotation. That annotation restricts
the usage, or visibility, of the code to non-rules Gosu code. The
converse is the @scriptable-all annotation, which makes a class,
constructor, method, or property visible in Gosu code everywhere.
Within the Gosu Rules editor,
the Gosu compiler ignores a class, a property, or a method marked as
@scriptable-ui. For example,
suppose that you attempt to access a property in Studio that has a @scriptable-ui annotation. The
Rules editor does not recognize the property descriptor for that property. However, the Gosu
compiler does recognize the property in other editors in Studio, such
as the Gosu editor for classes and enhancements.
