Interface StringInstance

All Superinterfaces:
HeapObject, Instance

public interface StringInstance extends Instance
Represents a java.lang.String instance in a heap dump. Provides a method to retrieve the string value of this instance.
  • Method Details

    • value

      @Nullable String value()
      Retrieves the value of this StringInstance. The value corresponds to the represented java.lang.String content, or null if the string value is unavailable because the heap dump doesn't contain primitive data.
      Returns:
      the string value of this instance, or null if unavailable.