@Override
	public boolean addConsumer(Object consumer) {
		Objects.requireNonNull(consumer, "Consumer must not be null");

		synchronized (consumers) {
			if (isClosed()) {
				return false;
			}
			consumers.add(consumer);
		}

		return true;
	}
Fires the specified event.

@param ev event to fire
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/DomainObjectAdapter.java