Package ghidra.pcode.emu.jit.gen

# Interface StaticFieldReq

All Superinterfaces:
  `FieldReq`

All Known Implementing Classes:
  `FieldForVarnode`

public interface StaticFieldReq extends FieldReq
A static field request initialized in the class initializer

- ## Method Summary

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

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

  `generateLoadCode, name`

- ## Method Details

  - ### generateClinitCode

    void generateClinitCode(JitCodeGenerator gen, org.objectweb.asm.ClassVisitor cv, org.objectweb.asm.MethodVisitor sv)
    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 initializer.

    Parameters:
      `gen` - the code generator
      `cv` - the visitor for the class definition
      `sv` - the visitor for the class (static) initializer