@Override
	boolean apply(AbstractMsType type) throws PdbException, CancelledException {

		AbstractBitfieldMsType mType = (AbstractBitfieldMsType) type;
		// Doing pre-check on type first using the getDataTypeOrSchedule method.  The logic is
		//  simpler here for Composites or Functions because we only have one dependency type,
		//  so we are not doing a separate call to a pre-check method as there is in those appliers.
		//  If type is not available, return false.
		RecordNumber elementRecordNumber = mType.getElementRecordNumber();
		DataType baseDataType = applicator.getDataTypeOrSchedule(elementRecordNumber);
		if (baseDataType == null) {
			return false;
		}

		DataType bitFieldDataType;
		try {
			bitFieldDataType = new Pdb2BitField(baseDataType.clone(applicator.getDataTypeManager()),
				mType.getBitLength(), mType.getBitPosition());
		}
		catch (InvalidDataTypeException e) {
			throw new PdbException(
				"Problem creating PdbBitField for " + type.getName() + ", error: " + e.toString());
		}
		applicator.putDataType(mType, bitFieldDataType);
		return true;
	}
Constructor for bitfield applier
@param applicator {@link DefaultPdbApplicator} for which this class is working
Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/BitfieldTypeApplier.java