Class FunctionSignatureDecompilerHover

  • All Implemented Interfaces:
    DecompilerHoverService, ghidra.app.plugin.core.hover.ConfigurableHover, HoverService, OptionsChangeListener, Disposable

    public class FunctionSignatureDecompilerHover
    extends ghidra.app.plugin.core.hover.AbstractConfigurableHover
    implements DecompilerHoverService
    A hover service to show tool tip text for hovering over a function name in the decompiler. The tooltip shows the function signature per the listing.
    • Field Summary

      • Fields inherited from class ghidra.app.plugin.core.hover.AbstractConfigurableHover

        options
      • Fields inherited from class ghidra.app.plugin.core.hover.AbstractHover

        enabled, priority, tool
    • Constructor Detail

      • FunctionSignatureDecompilerHover

        protected FunctionSignatureDecompilerHover​(PluginTool tool)
    • Method Detail

      • initializeOptions

        public void initializeOptions()
        Specified by:
        initializeOptions in interface ghidra.app.plugin.core.hover.ConfigurableHover
      • setOptions

        public void setOptions​(Options options,
                               java.lang.String optionName)
        Specified by:
        setOptions in interface ghidra.app.plugin.core.hover.ConfigurableHover
      • getHoverComponent

        public javax.swing.JComponent getHoverComponent​(Program program,
                                                        ProgramLocation programLocation,
                                                        FieldLocation fieldLocation,
                                                        Field field)
        Description copied from interface: HoverService
        Returns a component to be shown in a popup window that is relevant to the given parameters. Null is returned if there is no appropriate information to display.
        Specified by:
        getHoverComponent in interface HoverService
        Parameters:
        program - the program that is being hovered over.
        programLocation - the program location where the mouse is hovering.
        fieldLocation - the precise mouse location within the field viewer
        field - the field over which the mouse is hovering
        Returns:
        The component to be shown for the given location information.