This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In code metric inspections, I would like to filter out e.g. dependencies on library classes. Coupling between classes in project (or project dependencies) can be solved, but coupling to ill-designed binary can not - that's why it would be useful to leave such reports out of the inspection results. In order to find out whether a referenced class comes from a project depenedncy or a library, I need to use SFBQ, but I cannot map the TypeElement back to the URL root from which it was created. According to offline discussion I could possibly use SourceUtils.getSource(), but that's considered too slow for frequent use. Please provide an alternative with better performance.