Class EmitterFactory.FieldInsnEmitter

java.lang.Object
org.glassfish.pfl.dynamic.codegen.impl.EmitterFactory.FieldInsnEmitter
All Implemented Interfaces:
Consumer<org.objectweb.asm.MethodVisitor>, UnaryVoidFunction<org.objectweb.asm.MethodVisitor>, EmitterFactory.Emitter
Enclosing class:
EmitterFactory

private static class EmitterFactory.FieldInsnEmitter extends Object implements EmitterFactory.Emitter
  • Field Details

    • opcode

      private int opcode
    • owner

      private String owner
    • name

      private String name
    • desc

      private String desc
  • Constructor Details

    • FieldInsnEmitter

      public FieldInsnEmitter(int opcode, String owner, String name, String desc)
      The opcode must be one of the PUT/GET FIELD/STATIC instructions.
      Parameters:
      Owner - is the class name containing the field. This is constructed from ASMUtil.bcName( cgen.name() ).
      Name - is the name of the field.
      Desc - is the field's descriptor. This is obtained from the Type.signature() method.
  • Method Details