Consider the following:
class C {
Object getFoo() {}
boolean isBar() {}
void setBaz(val) {}
void method() {
foo
bar
baz
}
}
class C {
static Object getFoo() {}
static boolean isBar() {}
static void setBaz(val) {}
static void main(args) {
foo
bar
baz
}
}
foo and baz are highlighting as fields in both cases. They should highlight as methods -- like bar does -- since there are no fields to back the property-style accesses.
Consider the following:
fooandbazare highlighting as fields in both cases. They should highlight as methods -- likebardoes -- since there are no fields to back the property-style accesses.