private static List<ReadOnlyComponentWrapper> getComponentWrappers(Structure structure) {
		List<ReadOnlyComponentWrapper> list = new ArrayList<>();
		for (DataTypeComponent c : structure.getDefinedComponents()) {
			list.add(new ReadOnlyComponentWrapper(c));
		}
		return list;
	}
<code>AlignedStructureInspector</code> provides a simple instance of a structure 
member container used to perform alignment operations without forcing modification
of the actual structure.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/AlignedStructureInspector.java