Package ghidra.trace.model.symbol

# Interface TraceSymbolWithLifespan

All Superinterfaces:
  `Symbol`, `TraceSymbol`

All Known Subinterfaces:
  `TraceLabelSymbol`

All Known Implementing Classes:
  `DBTraceLabelSymbol`

public interface TraceSymbolWithLifespan extends TraceSymbol
A trace symbol having a lifespan.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `getEndSnap()`
  Get the maximum snapshot key in the lifespan
  `Lifespan`
  `getLifespan()`
  Get the lifespan of the symbol
  `long`
  `getStartSnap()`
  Get the minimum snapshot key in the lifespan
  `void`
  `setEndSnap(long snap)`
  Set the maximum snapshot key in the lifespan

  ### Methods inherited from interface ghidra.program.model.symbol.Symbol

  `delete, getAddress, getID, getName, getName, getObject, getPath, getProgram, getProgramLocation, getReferenceCount, getSource, getSymbolType, hasReferences, isDeleted, isDescendant, isDynamic, isExternal, isExternalEntryPoint, isGlobal, isPrimary, isValidParent, setName, setNameAndNamespace, setNamespace, setPrimary, setSource`

  ### Methods inherited from interface ghidra.trace.model.symbol.TraceSymbol

  `getParentNamespace, getParentSymbol, getReferenceCollection, getReferences, getReferences, getThread, getTrace, isPinned, setPinned`

- ## Method Details

  - ### getLifespan

    Lifespan getLifespan()
    Get the lifespan of the symbol
    Returns:
      the lifespan

  - ### getStartSnap

    long getStartSnap()
    Get the minimum snapshot key in the lifespan
    Returns:
      the minimum snapshot key

  - ### setEndSnap

    void setEndSnap(long snap)
    Set the maximum snapshot key in the lifespan
    Parameters:
      `snap` - the new maximum snapshot key

  - ### getEndSnap

    long getEndSnap()
    Get the maximum snapshot key in the lifespan
    Returns:
      the maximum snapshot key