]> Repositorios git - classgraph.git/commit
Unify unmatched superclass with context predicate node
authorJavier Sagredo <[email protected]>
Wed, 6 May 2026 22:33:10 +0000 (00:33 +0200)
committerJavier Sagredo <[email protected]>
Wed, 6 May 2026 23:51:06 +0000 (01:51 +0200)
commit7baa79a6ad1b1daebc1874562126b37327ec5e0f
treeb5f7b3a3a2e30fbe81ce11e8fcb76aa34672aca5
parent1dcdf4cc8b1f806b5d0c7209dbec863c3e13137a
Unify unmatched superclass with context predicate node

Was: unmatched superclass → class node, edge "needs Foo a b (no
local match)".
Now: unmatched superclass → predicate node (the same one created
from a context constraint when the predicate happens to match,
otherwise a fresh role='extern' grey node), edge labelled
"superclass constraint".

This collapses the case where a constraint appears in *both* the
context and as an unmatched superclass — the user sees one node
with two edges ("instance context" + "superclass constraint")
instead of two disconnected nodes saying the same thing. When the
constraint is purely an external superclass, the grey 'extern'
predicate node makes "must exist somewhere outside this project"
visible at a glance.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
data/viewer.html
data/viewer.js