Package jadex.commons

Class SClassReader.AnnotationInfo

  • Enclosing class:
    SClassReader

    public static class SClassReader.AnnotationInfo
    extends java.lang.Object
    Class containing annotation infos.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String type
      Fully qualified type.
      protected java.util.Map<java.lang.String,​java.lang.Object> values
      Annotations nested in this annotation.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AnnotationInfo​(java.lang.String type)
      Creates the info.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addValue​(java.lang.String name, java.lang.Object value)
      Adds a value.
      java.lang.String getType()  
      java.lang.Object getValue​(java.lang.String name)
      Returns a contained value.
      java.util.Map<java.lang.String,​java.lang.Object> getValues()
      Returns the contained values.
      java.lang.String toString()
      Get the string representation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • type

        protected java.lang.String type
        Fully qualified type.
      • values

        protected java.util.Map<java.lang.String,​java.lang.Object> values
        Annotations nested in this annotation.
    • Constructor Detail

      • AnnotationInfo

        protected AnnotationInfo​(java.lang.String type)
        Creates the info.
        Parameters:
        type - Annotation type.
    • Method Detail

      • getType

        public java.lang.String getType()
      • getValue

        public java.lang.Object getValue​(java.lang.String name)
        Returns a contained value.
        Returns:
        The contained value.
      • getValues

        public java.util.Map<java.lang.String,​java.lang.Object> getValues()
        Returns the contained values.
        Returns:
        The contained values.
      • addValue

        protected void addValue​(java.lang.String name,
                                java.lang.Object value)
        Adds a value.
        Parameters:
        name - Name of the value.
        value - The value.
      • toString

        public java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class java.lang.Object