Gosu case sensitivity
Guidewire code is case sensitive. Access existing types exactly
as they are declared, including correct
capitalization. For example, if a type is declared
as MyClass, you cannot refer to it
as myClass or
myclass. Use the Gosu editor’s
code completion feature to enter the names of types
and properties correctly.
To assist you, Studio highlights issues with case sensitivity.
The following table lists conventions for capitalization of various Gosu language elements:
|
Language element |
Standard capitalization |
Example |
|---|---|---|
|
Gosu keywords |
Always specify Gosu keywords correctly, typically lowercase. |
|
|
Type names, including class names |
Uppercase first character |
|
|
Local variable names |
Lowercase first character |
|
|
Property names |
Uppercase first character |
|
|
Method names |
Lowercase first character |
|
|
Package names |
Lowercase all letters in packages and subpackages |
|
