Bug 8192

Summary: Self encapsulate field: No setter created
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: UIAssignee: Dirk Baeumer <dirk_baeumer>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Bug Depends on: 9452    
Bug Blocks:    

Description Martin Aeschlimann CLA 2002-01-23 11:55:02 EST
1. Open  junit.framework.TestCase
2. Apply 'Self encapsulate field' on fName
3. It only creates the getter, but no setter.
Comment 1 Dirk Baeumer CLA 2002-02-13 12:52:42 EST
This is on purpose since the field 'fName' is final and therefore you can't 
assign a value to it. Generating a setter would result in a compiler error.

Closing