Package ghidra.plugins.fsbrowser
Record Class FSBFileHandlerContext
java.lang.Object
java.lang.Record
ghidra.plugins.fsbrowser.FSBFileHandlerContext
- Record Components:
plugin
- the FSB pluginfsbComponent
- the FSB componentfsService
- the fs serviceprojectIndex
- the project index
public record FSBFileHandlerContext(FileSystemBrowserPlugin plugin, FSBComponentProvider fsbComponent, FileSystemService fsService, ProjectIndexService projectIndex)
extends Record
Context given to a
FSBFileHandler
instance when being initialized.-
Constructor Summary
ConstructorDescriptionFSBFileHandlerContext
(FileSystemBrowserPlugin plugin, FSBComponentProvider fsbComponent, FileSystemService fsService, ProjectIndexService projectIndex) Creates an instance of aFSBFileHandlerContext
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefsbComponent
record component.Returns the value of thefsService
record component.final int
hashCode()
Returns a hash code value for this object.plugin()
Returns the value of theplugin
record component.Returns the value of theprojectIndex
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
FSBFileHandlerContext
public FSBFileHandlerContext(FileSystemBrowserPlugin plugin, FSBComponentProvider fsbComponent, FileSystemService fsService, ProjectIndexService projectIndex) Creates an instance of aFSBFileHandlerContext
record class.- Parameters:
plugin
- the value for theplugin
record componentfsbComponent
- the value for thefsbComponent
record componentfsService
- the value for thefsService
record componentprojectIndex
- the value for theprojectIndex
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)
. -
plugin
Returns the value of theplugin
record component.- Returns:
- the value of the
plugin
record component
-
fsbComponent
Returns the value of thefsbComponent
record component.- Returns:
- the value of the
fsbComponent
record component
-
fsService
Returns the value of thefsService
record component.- Returns:
- the value of the
fsService
record component
-
projectIndex
Returns the value of theprojectIndex
record component.- Returns:
- the value of the
projectIndex
record component
-