private static void warnIfMismatchedForms(DWARFAttribute.AttrDef attrSpec) {
		DWARFForm form = attrSpec.getAttributeForm();
		DWARFAttribute attribute = attrSpec.getAttributeId();
		if (attribute != null && !form.getFormClasses().isEmpty() &&
			!attribute.getAttributeClass().isEmpty()) {
			EnumSet<DWARFAttributeClass> tmp =
				EnumSet.copyOf(attrSpec.getAttributeForm().getFormClasses());
			tmp.retainAll(attrSpec.getAttributeId().getAttributeClass());
			if (tmp.isEmpty()) {
				Msg.warn(DWARFAbbreviation.class,
					"Mismatched DWARF Attribute and Form: %s".formatted(attrSpec));
			}
		}

	}
Reads a {@link DWARFAbbreviation} from the stream.

@param reader {@link BinaryReader} stream
@param prog {@link DWARFProgram}
@param monitor {@link TaskMonitor}
@return {@link DWARFAbbreviation}, or null if the stream was at a end-of-list marker
@throws IOException if error reading
@throws CancelledException if canceled
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/DWARFAbbreviation.java