Avoid this CCE found in the logs:
java.lang.ClassCastException: org.eclipse.objectteams.otdt.internal.core.compiler.lookup.WeakenedTypeBinding cannot be cast to org.eclipse.objectteams.otdt.internal.core.compiler.lookup.RoleTypeBinding
at org.eclipse.jdt.internal.compiler.ast.InstanceOfExpression.handledByGeneratedMethod(InstanceOfExpression.java:95)
- do not require RoleTypeBinding, DependentTypeBinding suffices.
- needed to pull up one method and a few fups for this approach to work.
4 files changed