Package ghidra.app.nav
Class LocationMemento
- java.lang.Object
-
- ghidra.app.nav.LocationMemento
-
public class LocationMemento extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ProgramLocation
programLocation
-
Constructor Summary
Constructors Constructor Description LocationMemento(SaveState saveState, Program[] programs)
LocationMemento(Program program, ProgramLocation location)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getLocationDescription()
static LocationMemento
getLocationMemento(SaveState saveState, Program[] programs)
Program
getProgram()
ProgramLocation
getProgramLocation()
int
hashCode()
boolean
isValid()
void
saveState(SaveState saveState)
java.lang.String
toString()
-
-
-
Field Detail
-
programLocation
protected final ProgramLocation programLocation
-
-
Constructor Detail
-
LocationMemento
public LocationMemento(Program program, ProgramLocation location)
-
-
Method Detail
-
isValid
public boolean isValid()
-
getLocationDescription
public java.lang.String getLocationDescription()
-
getProgram
public Program getProgram()
-
getProgramLocation
public ProgramLocation getProgramLocation()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
saveState
public void saveState(SaveState saveState)
-
getLocationMemento
public static LocationMemento getLocationMemento(SaveState saveState, Program[] programs)
-
-