Fix for Bug 348574 - [quickfix] implement abstract methods from tsuper
diff --git a/plugins/org.eclipse.objectteams.otdt.jdt.ui/src/org/eclipse/objectteams/otdt/internal/ui/assist/OTQuickFixes.java b/plugins/org.eclipse.objectteams.otdt.jdt.ui/src/org/eclipse/objectteams/otdt/internal/ui/assist/OTQuickFixes.java
index 7f285c4..9d2bc89 100644
--- a/plugins/org.eclipse.objectteams.otdt.jdt.ui/src/org/eclipse/objectteams/otdt/internal/ui/assist/OTQuickFixes.java
+++ b/plugins/org.eclipse.objectteams.otdt.jdt.ui/src/org/eclipse/objectteams/otdt/internal/ui/assist/OTQuickFixes.java
@@ -581,7 +581,17 @@
 				return Modifier.PUBLIC;
 			}
 			return vis;
-		}	
+		}
+		protectedRun <- replace addAbstractMethodProposals;
+
+		@SuppressWarnings("basecall")
+		static callin void protectedRun() {
+			try {
+				base.protectedRun();
+			} catch (ClassCastException cce) {
+				// this one is excepted, base method may try to located abstract method but finds RoleTypeDeclaration
+			}
+		}
 	}
 	
 	/** Interpret some flags with knowledge of OT/J: */