Class PofExtractor.Literal

  • All Implemented Interfaces:
    Enclosing class:

    public static class PofExtractor.Literal
    extends java.lang.Object
    implements PofExtractor
    An annotation literal for the PofExtractor annotation.
    See Also:
    Serialized Form
    • Method Detail

      • index

        public int[] index()
        The POF indexes to use to extract a value.
        the POF indexes to use to extract a value
      • path

        public java.lang.String path()
        Returns a property path to use to extract the value.

        This attribute can only be used in combination with the type() attribute, and only if the specified type is annotated with a @PortableType annotation and instrumented using PortableTypeGenerator.

        a property path to use to extract the value
      • type

        public java.lang.Class<?> type()
        The type being extracted.
        the type being extracted
      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in interface java.lang.annotation.Annotation
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.lang.annotation.Annotation
      • annotationType

        public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
        Method returns the type of the annotation literal. The value is resolved lazily during the first call of this method.
        Specified by:
        annotationType in interface java.lang.annotation.Annotation
        annotation type of this literal.