Package ghidra.app.util.opinion
Record Class AbstractProgramLoader.LoadedProgram
java.lang.Object
java.lang.Record
ghidra.app.util.opinion.AbstractProgramLoader.LoadedProgram
- Record Components:
program- TheProgramdestinationFolder- TheDomainFolderwhere 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 aLoadedProgramrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedestinationFolderrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.program()Returns the value of theprogramrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LoadedProgram
Creates an instance of aLoadedProgramrecord class.- Parameters:
program- the value for theprogramrecord componentdestinationFolder- the value for thedestinationFolderrecord 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 theprogramrecord component.- Returns:
- the value of the
programrecord component
-
destinationFolder
Returns the value of thedestinationFolderrecord component.- Returns:
- the value of the
destinationFolderrecord component
-