discoveryOf

internal fun discoveryOf(loaded: List<Class<*>>): AgentBuilder.RedefinitionStrategy.DiscoveryStrategy

Which types the install's redefinition pass walks: the default walks getAllLoadedClasses() and matches every entry, so a pending install — which has no Class to name yet — still catches its target the moment it loads. Unweaving does not come through here; Unweave re-resolves the name against the live classes instead, so it sees whatever a pending patch eventually wove.