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
ConstructorsConstructorDescriptionFSBFileHandlerContext(FileSystemBrowserPlugin plugin, FSBComponentProvider fsbComponent, FileSystemService fsService, ProjectIndexService projectIndex) Creates an instance of aFSBFileHandlerContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefsbComponentrecord component.Returns the value of thefsServicerecord component.final inthashCode()Returns a hash code value for this object.plugin()Returns the value of thepluginrecord component.Returns the value of theprojectIndexrecord component.final StringtoString()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 aFSBFileHandlerContextrecord class.- Parameters:
plugin- the value for thepluginrecord componentfsbComponent- the value for thefsbComponentrecord componentfsService- the value for thefsServicerecord componentprojectIndex- the value for theprojectIndexrecord 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 thepluginrecord component.- Returns:
- the value of the
pluginrecord component
-
fsbComponent
Returns the value of thefsbComponentrecord component.- Returns:
- the value of the
fsbComponentrecord component
-
fsService
Returns the value of thefsServicerecord component.- Returns:
- the value of the
fsServicerecord component
-
projectIndex
Returns the value of theprojectIndexrecord component.- Returns:
- the value of the
projectIndexrecord component
-