this.interfaceScope.addProblem(new AmbiguousReferenceProblem(extendedInterface, ""));
}
}
else if ( extendedDefinition != null )
{
this.interfaceScope.addProblem(new UnknownInterfaceProblem(extendedInterface, extendedDefinition.getBaseName()));
}
else
{
if ( extendedInterface instanceof IIdentifierNode )
{
this.interfaceScope.addProblem(new UnknownInterfaceProblem(extendedInterface, ((IIdentifierNode)extendedInterface).getName()));
}
else
{
// Parser let something weird through.
this.interfaceScope.addProblem(new UnknownInterfaceProblem(extendedInterface, ""));
}
}
// Report a problem if the interface is deprecated
// and the reference to it is not within a deprecated API.