Private static final vars in UPPER_CASE

  • Language: Gosu
  • Rule: Private variables should be prefixed with an underscore, gosudre:S8725
  • False positive because the naming convention for private static final vars in Gosu is the same as for Java, from Qusar | Guidewire Documentation, see screenshot
  • SonarQube Server Enterprise Edition v2026.5.3
  • Reproduce by creating a private static final var that follows Java’s naming conventions in a .gs file
private static final var DEPRECATED_ALIASES

image (5)