Class Annotation

java.lang.Object
ghidra.app.util.viewer.field.Annotation

public class Annotation extends Object
  • Constructor Details

    • Annotation

      public Annotation(String annotationText)
      Constructor
      Note: This constructor assumes that the string starts with "{
      @
      " and ends with '}'
      Parameters:
      annotationText - the complete annotation text.
    • Annotation

      public Annotation(String[] annotationParts)
      Constructor. Used for creating a new Annotation from a previously parsed annotation String.
      Parameters:
      annotationParts - The annotation parts.
    • Annotation

      @Deprecated public Annotation(String annotationText, Program program)
      Deprecated.
      Deprecated. Use Annotation(String).
      Parameters:
      annotationText - the complete annotation text
      program - ignored
  • Method Details

    • getAnnotationParts

      public String[] getAnnotationParts()
    • getAnnotationText

      public String getAnnotationText()
    • toString

      public String toString()
      Overrides:
      toString in class Object