@Nonnull
	public static ClassVisitor forClass(@Nonnull ClassVisitor cv, @Nonnull Collection<String> annotationTypes, @Nullable MethodMember method) {
		return new ClassVisitor(RecafConstants.getAsmVersion(), cv) {
			@Override
			public MethodVisitor visitMethod(int access, String name, String descriptor, String signature, String[] exceptions) {
				MethodVisitor mv = super.visitMethod(access, name, descriptor, signature, exceptions);
				if (method == null || (method.getName().equals(name) && method.getDescriptor().equals(descriptor)))
					return new MethodAnnotationRemovingVisitor(mv, annotationTypes);
				return mv;
			}
		};
	}
@param cv
		Visitor of a class.
@param annotationTypes
		Annotation types to remove on a method.
@param method
		Method to target, or {@code null} for any method.

@return Visitor that removes method annotations in the requested circumstances.
recaf-core/src/main/java/software/coley/recaf/util/visitors/MethodAnnotationRemovingVisitor.java