Bug 9598 Self encapsulate field: Renamed method might shadow existing method in base class [refactoring]
20020212 1. field: private IType fClass; 2. encapsulate field, choose setter name getClass 3. compile error in the created class private IType getClass() { return fClassC; } 'Return type is not compatible with java.lang.Object.getClass()'
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/wiki_out/A_test2004.java
package wiki_out;
public class A_test2004 {
	int field= 0;
	void fun() {
		int i= 0;
		while (field < 2) {
			field++;
			i = extracted(i);
		}
	}
	protected int extracted(int i) {
		
		System.out.println("i, field == " + i++ +", " + field);
		
		return i;
	}
}