public long getLong(int select1, int select2) {
		switch(select1) {
			case SPACE:
				return spaceID;
			case OFFSET: 
				try {
					switch(select2) {
						case SPACE:
							return ptr.getSpace();
						case OFFSET:
							return ptr.getOffset();
						case SIZE:
							return ptr.getSize();
					}
					return 0;		// Should never occur
				}
				catch(Exception e) {
					return 0;		// Should never occur
				}
			case SIZE:
				return size;
			default: 		// Should never occur
				return 0;
		}
	}
Method getLong.
@param select1
@param select2
@return long
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/generic/Handle.java