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_test2005.java
package wiki_out;
import java.io.IOException;
public class A_test2005 {
	static void fun() throws IOException {
	}
	public static void main(String args[]) {
		try {
			extracted();
		} catch (Exception e) {
		}
	}
	protected static void extracted() throws IOException {
		
		fun();
		
	}
}