Class Truncated.Literal

  • All Implemented Interfaces:
    java.lang.annotation.Annotation
    Enclosing class:
    Truncated

    public static class Truncated.Literal
    extends java.lang.Object
    implements Truncated
    An annotation literal for the Truncated annotation.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Literal()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
      Method returns the type of the annotation literal.
      boolean equals​(java.lang.Object other)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.annotation.Annotation

        annotationType, equals, hashCode, toString
    • Constructor Detail

      • Literal

        public Literal()
    • Method Detail

      • 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
        Returns:
        annotation type of this literal.
      • equals

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

        public int hashCode()
        Specified by:
        hashCode in interface java.lang.annotation.Annotation
        Overrides:
        hashCode in class java.lang.Object