Package ghidra.app.util.opinion
Record Class AbstractLibrarySupportLoader.LibrarySearchPath
java.lang.Object
java.lang.Record
ghidra.app.util.opinion.AbstractLibrarySupportLoader.LibrarySearchPath
- Record Components:
fsRef
- The rootFileSystemRef
relativeFsPath
- APath
relative to the root of the file system, or null for the root
- Enclosing class:
AbstractLibrarySupportLoader
protected static record AbstractLibrarySupportLoader.LibrarySearchPath(FileSystemRef fsRef, String relativeFsPath)
extends Record
A library search path
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
LibrarySearchPath
(FileSystemRef fsRef, String relativeFsPath) Creates an instance of aLibrarySearchPath
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.fsRef()
Returns the value of thefsRef
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of therelativeFsPath
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
LibrarySearchPath
Creates an instance of aLibrarySearchPath
record class.- Parameters:
fsRef
- the value for thefsRef
record componentrelativeFsPath
- the value for therelativeFsPath
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)
. -
fsRef
Returns the value of thefsRef
record component.- Returns:
- the value of the
fsRef
record component
-
relativeFsPath
Returns the value of therelativeFsPath
record component.- Returns:
- the value of the
relativeFsPath
record component
-