@Override
	public DataType toDataType() throws DuplicateNameException, IOException {
		Structure structure = new StructureDataType("local_variable", 0);
		structure.add(WORD, "start_pc", null);
		structure.add(WORD, "length", null);
		structure.add(WORD, "name_index", null);
		structure.add(WORD, "descriptor_index", null);
		structure.add(WORD, "index", null);
		return structure;
	}
The given local variable must be at index in the local variable array of the
current frame.
<p>
If the local variable at index is of type double or long, it occupies both
index and index + 1.
@return index in the local variable array
Ghidra/Processors/JVM/src/main/java/ghidra/javaclass/format/attributes/LocalVariableJava.java