Class BytecodeMethodParameters

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

public final class BytecodeMethodParameters extends Object
Bytecode parameters.
Since:
0.4
  • Constructor Details

    • BytecodeMethodParameters

      public BytecodeMethodParameters()
      Default constructor.
    • BytecodeMethodParameters

      public BytecodeMethodParameters(String descriptor)
      Constructor.
      Parameters:
      descriptor - Method descriptor.
    • BytecodeMethodParameters

      public BytecodeMethodParameters(BytecodeMethodParameter... params)
      Constructor.
      Parameters:
      params - Parameters.
    • BytecodeMethodParameters

      public BytecodeMethodParameters(List<BytecodeMethodParameter> params)
      Constructor.
      Parameters:
      params - Parameters.
  • Method Details

    • write

      public void write(org.objectweb.asm.MethodVisitor visitor)
      Add annotation.
      Parameters:
      visitor - Method visitor.
    • directives

      public DirectivesMethodParams directives()
      Convert to directives.
      Returns:
      Directives.