public Set<AssemblyParseStateItem> getClosure() {
		if (closure != null) {
			return closure;
		}
		closure = new LinkedHashSet<>(kernel);
		Set<AssemblyParseStateItem> newItems = new LinkedHashSet<>();
		do {
			newItems.clear();
			for (AssemblyParseStateItem item : closure) {
				newItems.addAll(item.getClosure(grammar));
			}
		}
		while (closure.addAll(newItems));
		return closure;
	}
Get the closure of this item, caching the result

@return the closure
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/parse/AssemblyParseState.java