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
x is a static method call expression for getX. Renaming getX in B properly renames the static import reference, but fails to rename the static method call expression.
Note: This happens because the static import is renamed in the first phase of the rename refactoring. Then the rename participant is called to find property-style accesses. At that time, type inferencing cannot establish the connection between the expression x and the static import, which now refers to the new name for the accessor.
Consider the following:
x
is a static method call expression forgetX
. RenaminggetX
inB
properly renames the static import reference, but fails to rename the static method call expression.Note: This happens because the static import is renamed in the first phase of the rename refactoring. Then the rename participant is called to find property-style accesses. At that time, type inferencing cannot establish the connection between the expression
x
and the static import, which now refers to the new name for the accessor.See #678 for more details
The text was updated successfully, but these errors were encountered: