Class AnnotationMember


  • public class AnnotationMember
    extends java.lang.Object
    A member of an annotation.
    • Constructor Summary

      Constructors 
      Constructor Description
      AnnotationMember​(java.lang.String id, AnnotationValue value)
      Builds an annotation member from its identifier and its annotation value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getId()
      Yields the identifier of this annotation member.
      AnnotationValue getValue()
      Yields the annotation value of this annotation member.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AnnotationMember

        public AnnotationMember​(java.lang.String id,
                                AnnotationValue value)
        Builds an annotation member from its identifier and its annotation value.
        Parameters:
        id - the identifier
        value - the annotation value
    • Method Detail

      • getId

        public java.lang.String getId()
        Yields the identifier of this annotation member.
        Returns:
        the identifier of this annotation member
      • getValue

        public AnnotationValue getValue()
        Yields the annotation value of this annotation member.
        Returns:
        the annotation value of this annotation member
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object