@Override
	public void transform(@Nonnull JvmTransformerContext context, @Nonnull Workspace workspace,
	                      @Nonnull WorkspaceResource resource, @Nonnull JvmClassBundle bundle,
	                      @Nonnull JvmClassInfo initialClassState) throws TransformationException {

		InheritanceVertex vertex = inheritanceGraph.getVertex(initialClassState.getName());
		if (vertex != null && vertex.isLoop())
			context.markClassForRemoval(initialClassState);
	}
A transformer that removes any class with cyclic inheritance.

@author Matt Coley
recaf-core/src/main/java/software/coley/recaf/services/deobfuscation/transform/generic/CycleClassRemovingTransformer.java