Package ghidra.app.util.opinion
Record Class AbstractProgramLoader.LoadedProgram
java.lang.Object
java.lang.Record
ghidra.app.util.opinion.AbstractProgramLoader.LoadedProgram
- Record Components:
program
- TheProgram
destinationFolder
- TheDomainFolder
where the program will get loaded to
- Enclosing class:
- AbstractProgramLoader
public static record AbstractProgramLoader.LoadedProgram(Program program, DomainFolder destinationFolder)
extends Record
A
Program
with its associated destination folder
-
Constructor Summary
ConstructorsConstructorDescriptionLoadedProgram
(Program program, DomainFolder destinationFolder) Creates an instance of aLoadedProgram
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedestinationFolder
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.program()
Returns the value of theprogram
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
LoadedProgram
Creates an instance of aLoadedProgram
record class.- Parameters:
program
- the value for theprogram
record componentdestinationFolder
- the value for thedestinationFolder
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
program
Returns the value of theprogram
record component.- Returns:
- the value of the
program
record component
-
destinationFolder
Returns the value of thedestinationFolder
record component.- Returns:
- the value of the
destinationFolder
record component
-