Bug 100868 [code assist] Code assist does not recommend methods in anonymous enum subclass
In RC3. Consider code: public enum Foo { A { tos<<>> }; } Where the cursor is at <<>>. Invoking code assist does not offer to override toString: it only offers class names.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/OverrideCompletionProposal.java
private IJavaProject fJavaProject;
	private String fMethodName;
	private String[] fParamTypes;
	public OverrideCompletionProposal(IJavaProject jproject, ICompilationUnit cu, String methodName, String[] paramTypes, int start, int length, String displayName, String completionProposal) {
		super(completionProposal, cu, start, length, null, displayName, 0);
		Assert.isNotNull(jproject);
		Assert.isNotNull(methodName);
		Assert.isNotNull(paramTypes);
		Assert.isNotNull(cu);
		fParamTypes= paramTypes;
		fMethodName= methodName;
		fJavaProject= jproject;
		
		StringBuffer buffer= new StringBuffer();
		buffer.append(completionProposal);
		buffer.append(" {};"); 
		
		setReplacementString(buffer.toString());