Package ghidra.program.model.listing
Interface Bookmark
- All Superinterfaces:
Comparable<Bookmark>
- All Known Implementing Classes:
BookmarkDB
Interface for bookmarks. Bookmarks are locations that are marked within the program so
that they can be easily found.
-
Method Summary
Modifier and TypeMethodDescriptionReturns address at which this bookmark is applied.Returns bookmark categoryReturns bookmark commentlong
getId()
Returns the id of the bookmark.getType()
Returns bookmark type object.Returns bookmark type as a stringvoid
Set the category and comment associated with a bookmark.Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getId
long getId()Returns the id of the bookmark. -
getAddress
Address getAddress()Returns address at which this bookmark is applied. -
getType
BookmarkType getType()Returns bookmark type object. -
getTypeString
String getTypeString()Returns bookmark type as a string -
getCategory
String getCategory()Returns bookmark category -
getComment
String getComment()Returns bookmark comment -
set
Set the category and comment associated with a bookmark.- Parameters:
category
- categorycomment
- single line comment
-