groovy / groovy/groovy-eclipse
Rename of method or property does not rename quoted method call expression
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 681
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
Consider the following:
class C {
Number n
void meth(C that) {
"setN"(42)
this."setN"(42)
that."setN"(42)
}
}
Renaming property "n" does not in-turn rename the method call expressions that reference the property.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the provided Groovy example and checking how property renaming handles quoted method-call expressions. Trace the rename operation for property "n" and verify that the calls to "setN" on the receiver, this, and that are updated when the rename completes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy, java
- Domain
- devtools, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100