You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using methods made accessible via @ExtensionMethod these usages of the methods are neither found by "References in Workspace" (Ctrl-G), nor are they changed when refactoring such methods' names.
To Reproduce
Make some methods available via @ExtensionMethod:
@ExtensionMethod(MyExtensions.class) // containing a static method foo(Object o)
class AnyClass {
void anyMethod() {
Object o = new Object();
o.foo();
}
}
Variations of the problem
"References in Workspace"
move cursor on foo
press Ctrl-G
Result: search for usages of foo() doesn't contain class AnyClass
"Refactor"/"Rename"
move cursor on foo
press Alt-Ctrl-R
type bar as a new name and press return
Result: method name gets changed in Class MyExtensions, but usage in AnyClass does not. Results in syntax error in class AnyClass.
Invocation from class MyExtensions
go to class MyExtensions
move cursor on foo
invoke one of the above operation
both operation don't find/change anything in class AnyClass
Expected behavior
usages of foo() in class AnyClass should be found
renaming of foo()'s name should affect usage in class AnyClass
Version info (please complete the following information):
Lombok version: 1.18.26
Eclipse: 2023-03
The text was updated successfully, but these errors were encountered:
Rawi01
added a commit
to Rawi01/lombok
that referenced
this issue
Mar 20, 2023
Describe the bug
When using methods made accessible via
@ExtensionMethod
these usages of the methods are neither found by "References in Workspace" (Ctrl-G), nor are they changed when refactoring such methods' names.To Reproduce
Make some methods available via
@ExtensionMethod
:Variations of the problem
foo
AnyClass
foo
bar
as a new name and press returnMyExtensions
, but usage inAnyClass
does not. Results in syntax error in classAnyClass
.MyExtensions
MyExtensions
foo
AnyClass
Expected behavior
foo()
in classAnyClass
should be foundfoo()
's name should affect usage in classAnyClass
Version info (please complete the following information):
The text was updated successfully, but these errors were encountered: