Interface StaticFieldReq<T extends Types.BNonVoid>

Type Parameters:
T - the JVM type of the field
All Superinterfaces:
FieldReq<T>
All Known Implementing Classes:
FieldForPcodeOp, FieldForVarnode

public interface StaticFieldReq<T extends Types.BNonVoid> extends FieldReq<T>
A static field request initialized in the class initializer
  • Method Details

    • genClInitCode

      <N extends Emitter.Next> Emitter<N> genClInitCode(Emitter<N> em, JitCodeGenerator<?> gen, org.objectweb.asm.ClassVisitor cv)
      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.

      Type Parameters:
      N - the incoming stack
      Parameters:
      em - the emitter typed with the incoming stack
      gen - the code generator
      cv - the visitor for the class definition
      Returns:
      the emitter typed with the incoming stack
    • genLoad

      <N extends Emitter.Next> Emitter<Emitter.Ent<N,T>> genLoad(Emitter<N> em, JitCodeGenerator<?> gen)
      Emit code to load the field onto the JVM stack
      Type Parameters:
      N - the incoming stack
      Parameters:
      em - the emitter typed with the incoming stack
      gen - the code generator
      Returns:
      the emitter typed with the resulting stack, i.e., having pushed the value