Bug 4914 can't extract class expression
class B{ Object m(){ return /*[*/B.class/*]*/; } } cannot extract the selected fragment
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractMethodWorkSpace/ExtractMethodTests/X.java
import java.io.*;
public class X {
	void foo(final int out){
		new Object(){
			void bar(){
				System.out.println(out);
			}
		};        
	}
}