Package ghidra.app.context
Interface DataLocationListContext
public interface DataLocationListContext
Context mix-in interface that ActionContexts can implement if they can provide a list of
Data object's ProgramLocation's.-
Method Summary
Modifier and TypeMethodDescriptionintgetCount()Returns the number ofDataobjects for the current action context.Returns a list of the locations of the currentDataobjects in the current action context.getDataLocationList(Predicate<Data> filter) Returns a list of the locations of the currentDataobjects in the current action context that pass the given filter.Returns the program for the current action context.
-
Method Details
-
getCount
int getCount()Returns the number ofDataobjects for the current action context.- Returns:
- the number of
Dataobjects for the current action context.
-
getDataLocationList
List<ProgramLocation> getDataLocationList()Returns a list of the locations of the currentDataobjects in the current action context.- Returns:
- a list of the locations of the current
Dataobjects in the current action context.
-
getDataLocationList
Returns a list of the locations of the currentDataobjects in the current action context that pass the given filter.- Parameters:
filter- a filter to apply to the current context's Data list,nullimplies all elements match.- Returns:
- a list of the locations of the current
Dataobjects in the current action context that pass the given filter.
-
getProgram
Program getProgram()Returns the program for the current action context.- Returns:
- the program for the current action context.
-