@Nonnull
	public static Set<AccessFlag> getApplicableFlags(@Nonnull Type type, int acc) {
		Set<AccessFlag> flags = EnumSet.noneOf(AccessFlag.class);
		for (AccessFlag applicableFlag : getApplicableFlags(type))
			if (applicableFlag.has(acc))
				flags.add(applicableFlag);
		return flags;
	}
@param type
		Flag type.
@param acc
		Access flag mask.

@return Set of flags that belong to the type group in the access flag mask.
recaf-core/src/main/java/software/coley/recaf/util/AccessFlag.java