Working with Gosu in Guidewire Studio

The Gosu language defines the following terms:
Class
Gosu classes encapsulate data and code for a specific purpose. You can subclass and extend existing classes. You can store and access data and methods on an instance of the class or on the class itself. Gosu classes can also implement Gosu interfaces.
Enhancement
Gosu enhancements are a Gosu language feature that allows you to augment classes and other types with additional concrete methods and properties. For example, use enhancements to define additional utility methods on a Java class or interface that you cannot directly modify. Also, you can use an enhancement to extend Gosu classes, Guidewire entities, or Java classes with additional behaviors.
Template
Gosu templates are text with embedded Gosu code within a larger block of text. The embedded Gosu code optionally calculates and generates text at the location of the code in the template text. You can make a Gosu template as a separate file.

It is possible to create the following from the New context menu in the Project panel in Studio:

New

More information

Gosu Class

You can create Gosu classes and interfaces from this menu item.

Gosu Enhancement

Gosu Template

Package

GX Model