Module openj9.dtfj

Class Annotation


  • public class Annotation
    extends Object
    The annotations that are found on a class.
    • Constructor Detail

      • Annotation

        public Annotation​(String classname)
    • Method Detail

      • getValue

        public Object getValue()
        Get the value of an annotation when it only contains a single value.
        Returns:
        the value or the first one in the list of a multi-value (the order is not guaranteed in this case)
      • getClassname

        public String getClassname()
      • addEntry

        public void addEntry​(String name,
                             Object value)