History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-19519
Type: New Feature New Feature
Status: Open Open
Assignee: Alexey Kudravtsev
Reporter: Maxim Buzdalov
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Create getter intention and final fields.

Created: 09 Sep 08 03:12   Updated: 30 Sep 08 23:47
Component/s: Editor. Intention Actions

Build: 7,718
Severity: Medium


 Description  « Hide
"Create setter" or "create getter and setter" intention should be disabled for final fields.

 All   Comments   Work Log   Change History      Sort Order:
Alexander Strotzky - 30 Sep 08 23:41
"Create getter" is quite useful for immutable classes.

I propose this:

  • disable "create setter" and "create getter and setter" for final fields
  • disable "create getter" for final STATIC fields (constants)

Maxim Buzdalov - 30 Sep 08 23:46
Well, I meant "Create setter" and "Create getter and setter" should be disabled.