Consider the following:
import static B.*
class A {
boolean isOne() {}
}
class B extends A {
boolean isTwo() {}
}
@groovy.transform.CompileStatic
void test() {
one
two
isOne()
isTwo()
}
References to method 'isOne' are showing as underlined (unknown) since they are indirectly available through import static B.*