public void toggleOpenComposites(final CodeBrowserPlugin cb) {
		AbstractGuiTest.runSwing(() -> {
			Data data = program.getListing().getDataAt(addr(0x100d0f3));
			if (data.getDataType() instanceof Composite) {
				cb.toggleOpen(data);
			}

			data = program.getListing().getDataAt(addr(0xf0000290));
			if (data.getDataType() instanceof Composite) {
				cb.toggleOpen(data);
			}
		});
	}
Toggle open composite locations within Code Browser
which have locations generated
@param cb
Ghidra/Features/Base/src/test/java/ghidra/app/SampleLocationGenerator.java