Open
Description
Today we have the Extract Method
refactor and a Convert Getter to Method
rewrite. This request is actually a two part one:
- If the extracted content has no need for local variables, suggest a new
Extract Getter
- If a method has no parameters and returns something other than
void
suggest a newConvert Method to Getter
We could also think about a similar requests for setter
s if the return type is void
and it takes one parameter only, but that may be something that happens less frequently.
Any suggestions for this are appreciated.