public int getFilter(int type) {
		switch (type) {
			case PROGRAM_CONTEXT:
			case BYTES:
			case INSTRUCTIONS:
			case DATA:
			case SYMBOLS:
			case PRIMARY_SYMBOL:
			case REFERENCES:
			case PLATE_COMMENTS:
			case PRE_COMMENTS:
			case EOL_COMMENTS:
			case REPEATABLE_COMMENTS:
			case POST_COMMENTS:
			case BOOKMARKS:
			case PROPERTIES:
			case FUNCTIONS:
			case FUNCTION_TAGS:
			case EQUATES:
			case SOURCE_MAP:
				int bitPos = 0;
				int tmpType = type;
				while (bitPos < NUM_PRIMARY_TYPES) {
					if ((tmpType & 1) == 1) { // found the set bit position.
						return filterFlags[bitPos];
					}
					tmpType >>= 1;
					bitPos++;
				}
				return INVALID;
			case CODE_UNITS:
			case COMMENTS:
			case ALL:
			default:
				return INVALID;
		}
	}
getFilter determines whether or not the specified type of filter is set.
Valid types are: BYTES, INSTRUCTIONS, DATA, SOURCE_MAP,
SYMBOLS, PRIMARY_SYMBOL, COMMENTS, PROGRAM_CONTEXT, PROPERTIES, BOOKMARKS, FUNCTIONS.
INVALID is returned if combinations of merge types (e.g. ALL) are 
passed in.

@param type the merge type.
@return IGNORE, REPLACE, or MERGE. INVALID if parameter is a combination of 
types or not a predefined primary type.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ProgramMergeFilter.java