Class SClassReader.AnnotationInfo

java.lang.Object
jadex.classreader.SClassReader.AnnotationInfo
Enclosing class:
SClassReader

public static class SClassReader.AnnotationInfo extends Object
Class containing annotation infos.
  • Field Details

    • type

      protected String type
      Fully qualified type.
    • values

      protected Map<String,Object> values
      Annotations nested in this annotation.
  • Constructor Details

    • AnnotationInfo

      protected AnnotationInfo(String type)
      Creates the info.
      Parameters:
      type - Annotation type.
  • Method Details

    • getType

      public String getType()
    • getValue

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

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

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

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