Class BytecodeAnnotations

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

public final class BytecodeAnnotations extends Object
Bytecode annotations.
Since:
0.6
  • Constructor Details

    • BytecodeAnnotations

      public BytecodeAnnotations(BytecodeAnnotation... all)
      Constructor.
      Parameters:
      all - All annotations.
    • BytecodeAnnotations

      public BytecodeAnnotations(Stream<BytecodeAnnotation> all)
      Constructor.
      Parameters:
      all - All annotations.
    • BytecodeAnnotations

      public BytecodeAnnotations(List<BytecodeAnnotation> all)
      Constructor.
      Parameters:
      all - All annotations.
  • Method Details

    • annotations

      public List<BytecodeAnnotation> annotations()
      All annotations.
      Returns:
      Annotations.
    • directives

      public DirectivesAnnotations directives(String name)
      Directives with the given name.
      Parameters:
      name - Name of the directives.
      Returns:
      Directives.
    • directives

      public DirectivesAnnotations directives()
      Directives with the name "annotations".
      Returns:
      Directives.