Fix regression caused by Commit a35aac1d6c5cb009bd3591b1dbe5521737950e0a
diff --git a/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/objectteams/otdt/internal/core/compiler/statemachine/transformer/RoleSplitter.java b/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/objectteams/otdt/internal/core/compiler/statemachine/transformer/RoleSplitter.java
index a58e8cc..c4a866f 100644
--- a/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/objectteams/otdt/internal/core/compiler/statemachine/transformer/RoleSplitter.java
+++ b/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/objectteams/otdt/internal/core/compiler/statemachine/transformer/RoleSplitter.java
@@ -270,11 +270,13 @@
TypeReference reference = classTypeDeclaration.superclass;
if (reference != null) {
switch (reference.getClass().getName()) {
- case "CompletionOnKeyword": //$NON-NLS-1$
+ case "org.eclipse.jdt.internal.codeassist.complete.CompletionOnKeyword1": //$NON-NLS-1$
+ case "org.eclipse.jdt.internal.codeassist.complete.CompletionOnKeyword2": //$NON-NLS-1$
+ case "org.eclipse.jdt.internal.codeassist.complete.CompletionOnKeyword3": //$NON-NLS-1$
return; // not a real type reference!
- case "CompletionOnSingleTypeReference": //$NON-NLS-1$
+ case "org.eclipse.jdt.internal.codeassist.complete.CompletionOnSingleTypeReference": //$NON-NLS-1$
return; // inserting __OT__ here would break completion
- case "CompletionOnQualifiedTypeReference": //$NON-NLS-1$
+ case "org.eclipse.jdt.internal.codeassist.complete.CompletionOnQualifiedTypeReference": //$NON-NLS-1$
return; // inserting __OT__ here would break completion
}
if(reference instanceof SingleTypeReference){