Class BytecodeRecordComponent

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

public final class BytecodeRecordComponent extends Object
The record component of a record class.
Since:
0.14.0
  • Constructor Details

    • BytecodeRecordComponent

      public BytecodeRecordComponent(String name, String descriptor, String signature)
      Constructor.
      Parameters:
      name - Name
      descriptor - Descriptor
      signature - Signature
    • BytecodeRecordComponent

      public BytecodeRecordComponent(String name, String descriptor, String signature, BytecodeAnnotations annotations, BytecodeTypeAnnotations types)
      Constructor.
      Parameters:
      name - Name
      descriptor - Descriptor
      signature - Signature
      annotations - Annotations
      types - Type annotations
      Suppressed Checkstyle violations:
      ParameterNumber (10 lines)
  • Method Details

    • write

      public void write(org.objectweb.asm.ClassVisitor clazz)
      Write to class visitor.
      Parameters:
      clazz - Class visitor
    • directives

      public Iterable<org.xembly.Directive> directives(int index, Format format)
      Convert to directives.
      Parameters:
      index - Index of the record component
      format - Format of the directives
      Returns:
      Directives