Interface InstanceFieldReq

All Superinterfaces:
FieldReq
All Known Implementing Classes:
FieldForArrDirect, FieldForExitSlot, FieldForSpaceIndirect, FieldForUserop

public interface InstanceFieldReq extends FieldReq
An instance field request initialized in the class constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    generateInitCode(JitCodeGenerator gen, org.objectweb.asm.ClassVisitor cv, org.objectweb.asm.MethodVisitor iv)
    Emit the field declaration and its initialization bytecode

    Methods inherited from interface ghidra.pcode.emu.jit.gen.FieldReq

    generateLoadCode, name
  • Method Details

    • generateInitCode

      void generateInitCode(JitCodeGenerator gen, org.objectweb.asm.ClassVisitor cv, org.objectweb.asm.MethodVisitor iv)
      Emit the field declaration and its initialization bytecode

      The declaration is emitted into the class definition, and the initialization code is emitted into the class constructor.

      Parameters:
      gen - the code generator
      cv - the visitor for the class definition
      iv - the visitor for the class constructor