Bug 541395: [code mining] implementations not shown on class and methods

show implementations annotation on classes

Change-Id: Id86dc5b36e20e479d5c1c1f826f506868e31b4af
Signed-off-by: Jeff Johnston <jjohnstn@redhat.com>
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/codemining/JavaElementCodeMiningProvider.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/codemining/JavaElementCodeMiningProvider.java
index ff11e16..6dfffbc 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/codemining/JavaElementCodeMiningProvider.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/codemining/JavaElementCodeMiningProvider.java
@@ -24,7 +24,6 @@
 
 import org.eclipse.ui.texteditor.ITextEditor;
 
-import org.eclipse.jdt.core.Flags;
 import org.eclipse.jdt.core.IJavaElement;
 import org.eclipse.jdt.core.IType;
 import org.eclipse.jdt.core.ITypeRoot;
@@ -130,7 +129,7 @@
 			if (showImplementations) {
 				if (element instanceof IType) {
 					IType type= (IType) element;
-					if (type.isInterface() || Flags.isAbstract(type.getFlags())) {
+					if (type.isInterface() || type.isClass()) {
 						try {
 							minings.add(new JavaImplementationCodeMining(type, (JavaEditor) textEditor, viewer.getDocument(), this,
 									showAtLeastOne));