@Override
		public boolean acceptsNode(GTreeNode node) {
			if (!(node instanceof DataTypeNode)) {
				return false;
			}
			DataTypeNode dataTypeNode = (DataTypeNode) node;
			DataType dataType = dataTypeNode.getDataType();
			if (!(dataType instanceof Structure)) {
				return false;
			}

			Structure structure = (Structure) dataType;
			OffsetIterator it = new OffsetIterator(structure);
			for (Integer structureOffset : CollectionUtils.asIterable(it)) {
				for (Range range : offsets) {
					if (range.contains(structureOffset)) {
						return true;
					}
					if (structureOffset > range.max) {
						// ranges are ascending sorted order; the structure offset is already 
						// bigger than this range, so no more ranges can match
						break;
					}
				}
			}

			return false;
		}
Allows the user to supply one or more offsets that are used to search for structures that have
any of those offsets.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/actions/FindStructuresByOffsetAction.java