@Override
	public void onRemoveClass(@Nonnull WorkspaceResource resource, @Nonnull JvmClassBundle bundle, @Nonnull JvmClassInfo cls) {
		// Prune vertex connections of all methods within the class
		ClassMethodsContainer container = getClassMethodsContainer(cls);
		Set<MethodRef> unresolvedWithinOwner = unresolvedDeclarations.get(cls.getName());
		for (MethodVertex vertex : container.getVertices()) {
			MethodRef ref = vertex.getMethod();
			if (vertex instanceof MutableMethodVertex) {
				((MutableMethodVertex) vertex).prune();
				unresolvedWithinOwner.add(ref);
			} else {
				logger.warn("Could not prune reference: {}", ref);
			}
		}

		// Remove from maps
		classToLinkerType.remove(cls);
		classToMethodsContainer.remove(cls);
	}
@param opcode
		Method invoke opcode.
@param owner
		Declaring class of method.
@param name
		Name of method invoked.
@param descriptor
		Descriptor of method invoked.
@param isInterface
		Invoke interface flag.

@return Resolution result of the method within the owner.
The result {@link Result#isError()} will be {@code true} when the {@code owner} could not be found.
recaf-core/src/main/java/software/coley/recaf/services/callgraph/CallGraph.java