Class BytecodeAnnotations


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

      • 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 Detail

      • 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.