Class BytecodeField

java.lang.Object
org.eolang.jeo.representation.bytecode.BytecodeField

public final class BytecodeField extends Object
Bytecode field.
Since:
0.2
  • Constructor Details

    • BytecodeField

      public BytecodeField(String name, String descr, String signature, Object value, int access)
      Constructor.
      Parameters:
      name - Name.
      descr - Descriptor.
      signature - Signature.
      value - Value.
      access - Access.
  • Method Details

    • write

      public void write(org.objectweb.asm.ClassVisitor visitor)
      Write field to a class.
      Parameters:
      visitor - Visitor.
    • withAnnotation

      public void withAnnotation(String descr, boolean visible)
      Add annotation.
      Parameters:
      descr - Descriptor.
      visible - Visible.