private int computeIllegalNames(@Nonnull WorkspaceResource resource) {
		Set<JvmClassInfo> classesWithIllegalNames = Collections.newSetFromMap(new IdentityHashMap<>());
		resource.jvmClassBundleStream().forEach(bundle -> {
			bundle.forEach(cls -> {
				if (ILLEGAL_NAME_FILTER.shouldMapClass(cls)) {
					classesWithIllegalNames.add(cls);
					return;
				}
				for (FieldMember field : cls.getFields()) {
					if (ILLEGAL_NAME_FILTER.shouldMapField(cls, field)) {
						classesWithIllegalNames.add(cls);
						return;
					}
				}
				for (MethodMember method : cls.getMethods()) {
					if (ILLEGAL_NAME_FILTER.shouldMapMethod(cls, method)) {
						classesWithIllegalNames.add(cls);
						return;
					}
				}
			});
		});
		return classesWithIllegalNames.size();
	}
Summarizer that allows patching of common anti-decompilation tricks.

@author Matt Coley
recaf-ui/src/main/java/software/coley/recaf/services/info/summary/builtin/AntiDecompilationSummarizer.java