@Override
	public void encode(Encoder encoder) throws IOException {
		encoder.openElement(ELEM_CONSUME);
		encoder.writeString(ATTRIB_STORAGE, resourceType.toString());
		encoder.closeElement(ELEM_CONSUME);
	}
Consume a parameter from a specific resource list

Normally the resource list is determined by the parameter data-type, but this
action specifies an overriding resource list.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/protorules/ConsumeAs.java