Consider the following:
package foo
class Bar {
static def prop
static def getProp() {}
}
class Baz extends Bar {
}
import foo.Baz
Baz.prop
Baz.getProp()
Baz b = new Baz()
b.prop
b.getProp()
b.prop is showing as field reference but should be property-style reference to getProp (as Baz.prop is showing), since the reference is made outside of Bar or Baz class bodies.
Consider the following:
b.propis showing as field reference but should be property-style reference togetProp(asBaz.propis showing), since the reference is made outside ofBarorBazclass bodies.