Bug 19988 Quick fix could have corrections when class does not override all super-methods [quick fix]
build F2 A class that does not implement all methods from an interface it implements or abstract class it extends from is in Error. The className is red-highlighted and the Text-Hover displays the message:" Class <classname> must implement the inherited abstract method <super-method- name>." Since we have this information. Is it difficult have a Quick Fix displaying at least 2 possiblities: "Make this class Abstract" "Override the super-method" ROel
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ModifierCorrectionSubProcessor.java
String label= CorrectionMessages.getString("LocalCorrectionsSubProcessor.removebody.description");
			Image image= JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_CHANGE);
			ASTRewriteCorrectionProposal proposal2= new ASTRewriteCorrectionProposal(label, cu, rewrite, 0, image);
			proposal2.calculateEditsAndClearRewrites();
			proposals.add(proposal2);
			*/
		}
		
		if (problemPos.getId() == IProblem.AbstractMethodInAbstractClass && (parentType instanceof TypeDeclaration)) {
			TypeDeclaration typeDeclaration= (TypeDeclaration) parentType;
			
			ASTRewrite rewrite= new ASTRewrite(decl.getParent());
			
			AST ast= astRoot.getAST();
			TypeDeclaration modifiedNode= ast.newTypeDeclaration();
			modifiedNode.setInterface(typeDeclaration.isInterface());
			modifiedNode.setModifiers(typeDeclaration.getModifiers() | Modifier.ABSTRACT);
			rewrite.markAsModified(typeDeclaration, modifiedNode);
	
			String label= CorrectionMessages.getFormattedString("LocalCorrectionsSubProcessor.addabstract.description", typeDeclaration.getName().getIdentifier());
			Image image= JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_CHANGE);
			ASTRewriteCorrectionProposal proposal= new ASTRewriteCorrectionProposal(label, cu, rewrite, 3, image);
			proposal.calculateEditsAndClearRewrites();
			proposals.add(proposal);
		}		
		
	}
}