// if selecting a type for an anonymous type creation, we have to
// find its target super constructor (if extending a class) or its target
// super interface (if extending an interface)
if (this.anonymousType.binding != null) {
LocalTypeBinding localType = (LocalTypeBinding) this.anonymousType.binding;
if (localType.superInterfaces == Binding.NO_SUPERINTERFACES) {
// find the constructor binding inside the super constructor call
ConstructorDeclaration constructor = (ConstructorDeclaration) this.anonymousType.declarationOf(this.binding.original());
if (constructor != null) {
throw new SelectionNodeFound(constructor.constructorCall.binding);