Community
Participate
Working Groups
When adding a field from a constructor, the quick-fix prompts to add a field: public class Foo { public Foo() { this.field = ""; // Quick-Fix: Create field in Foo? // private String foo; } } If this is being set in the constructor, there is a likelihood that this could be marked as final. (If it was being set from a method then of course this would not be true). It would be nice if Eclipse added 'final' inside such constructors, because there will be a quick-fix to remove the final if an assignment is performed elsewhere in the class.