Class BytecodePlainAnnotationValue

    • Constructor Detail

      • BytecodePlainAnnotationValue

        public BytecodePlainAnnotationValue​(String name,
                                            Object value)
        Constructor.
        Parameters:
        name - The name of the annotation property.
        value - The actual value.
    • Method Detail

      • writeTo

        public void writeTo​(org.objectweb.asm.AnnotationVisitor visitor)
        Description copied from interface: BytecodeAnnotationValue
        Write the value to the given visitor.
        Specified by:
        writeTo in interface BytecodeAnnotationValue
        Parameters:
        visitor - Visitor.
      • directives

        public Iterable<org.xembly.Directive> directives​(int index,
                                                         Format format)
        Description copied from interface: BytecodeAnnotationValue
        Convert to directives.
        Specified by:
        directives in interface BytecodeAnnotationValue
        Parameters:
        index - Index of the annotation in the list of annotations.
        format - Format of the directives.
        Returns:
        Directives.