Class Annotation

    • Constructor Detail

      • Annotation

        public Annotation​(Type type,
                          int line)
    • Method Detail

      • setProperty

        public void setProperty​(java.lang.String name,
                                AnnotationValue value)
      • getType

        public Type getType()
        Returns:
        the annotation type
      • getNamedParameter

        public java.lang.Object getNamedParameter​(java.lang.String key)
        Parameters:
        key - name of a named-parameter
        Returns:
        the corresponding value, or null if no such named-parameter was present
      • getNamedParameterMap

        public java.util.Map getNamedParameterMap()
        Returns:
        a Map containing all the named-parameters
      • getLineNumber

        public int getLineNumber()
      • getPropertyMap

        public java.util.Map getPropertyMap()
      • getProperty

        public AnnotationValue getProperty​(java.lang.String name)
      • toString

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