public void deleteClassMethods(@Nonnull Workspace workspace,
	                               @Nonnull WorkspaceResource resource,
	                               @Nonnull JvmClassBundle bundle,
	                               @Nonnull JvmClassInfo declaringClass,
	                               @Nonnull Collection<MethodMember> methods) {
		ClassReader reader = declaringClass.getClassReader();
		ClassWriter writer = new ClassWriter(reader, 0);
		MemberRemovingVisitor visitor = new MemberRemovingVisitor(writer, MethodPredicate.of(methods));
		reader.accept(visitor, 0);
		bundle.put(declaringClass.toJvmClassBuilder()
				.adaptFrom(writer.toByteArray())
				.build());
	}
Removes the given methods from the given class.

@param workspace
		Containing workspace.
@param resource
		Containing resource.
@param bundle
		Containing bundle.
@param declaringClass
		Class declaring the methods.
@param methods
		Methods to delete.
recaf-ui/src/main/java/software/coley/recaf/services/navigation/Actions.java