Module openj9.dtfj

Class Annotation

java.lang.Object
com.ibm.java.diagnostics.utils.plugins.Annotation

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

    • Annotation

      public Annotation(String classname)
  • Method Details

    • getValues

      public Map<String,Object> getValues()
    • 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)