Consider the following:
import static C.m as x
class C {
static m() {}
static {
this.m()
this.&m
C.m()
m()
x()
}
}
@groovy.transform.CompileStatic
class CS {
static m() {}
static {
this.m() // not C#m
this.&m // not C#m
C.m()
m() // not C#m
x()
}
}
Rename Refactoring (Alt+Shift+R) on C#m should update "m" references but not "x" references. Currently the "x"s get changed as well. Same goes for static fields and properties.
Consider the following:
Rename Refactoring (Alt+Shift+R) on
C#mshould update "m" references but not "x" references. Currently the "x"s get changed as well. Same goes for static fields and properties.