code: private LocalVariableDefinition buildStruct(MethodDefinition read, Map<Short, LocalVariableDefinition> structData)
      {
          // construct the instance and store it in the instance local variable
          LocalVariableDefinition instance = constructStructInstance(read, structData);
  
          // inject fields
          injectStructFields(read, instance, structData);
  
          // inject methods
          injectStructMethods(read, instance, structData);
  
          // invoke factory method if present
          invokeFactoryMethod(read, structData, instance);
  
          return instance;
      }
docs: Defines the code to build the struct instance using the data in the local variables.