Class Annotations

java.lang.Object
com.yourkit.api.Annotations

public class Annotations extends Object
Provides access to snapshot annotations. Snapshot annotation is a free-form text description of a snapshot stored directly in the snapshot file. You can see it in the profiler UI in "Summary" tab.
  • Method Details

    • readAnnotation

      @Nullable public static String readAnnotation(@NotNull File snapshotFile)
    • writeAnnotation

      public static void writeAnnotation(@NotNull File snapshotFile, @Nullable String annotation) throws Exception
      Throws:
      Exception