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 rootFileSystemRefrelativeFsPath- APathrelative 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
ConstructorsModifierConstructorDescriptionprotectedLibrarySearchPath(FileSystemRef fsRef, String relativeFsPath) Creates an instance of aLibrarySearchPathrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fsRef()Returns the value of thefsRefrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of therelativeFsPathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LibrarySearchPath
Creates an instance of aLibrarySearchPathrecord class.- Parameters:
fsRef- the value for thefsRefrecord componentrelativeFsPath- the value for therelativeFsPathrecord 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 thefsRefrecord component.- Returns:
- the value of the
fsRefrecord component
-
relativeFsPath
Returns the value of therelativeFsPathrecord component.- Returns:
- the value of the
relativeFsPathrecord component
-