Class ReferenceDecompilerHover

java.lang.Object
ghidra.app.plugin.core.hover.AbstractHover
ghidra.app.plugin.core.hover.AbstractConfigurableHover
ghidra.app.plugin.core.hover.AbstractReferenceHover
ghidra.app.decompiler.component.hover.ReferenceDecompilerHover
All Implemented Interfaces:
DecompilerHoverService, HoverService, OptionsChangeListener, Disposable

public class ReferenceDecompilerHover extends ghidra.app.plugin.core.hover.AbstractReferenceHover implements DecompilerHoverService
  • Constructor Details

    • ReferenceDecompilerHover

      public ReferenceDecompilerHover(PluginTool tool)
  • Method Details

    • getName

      protected String getName()
      Specified by:
      getName in class ghidra.app.plugin.core.hover.AbstractConfigurableHover
    • getDescription

      protected String getDescription()
      Specified by:
      getDescription in class ghidra.app.plugin.core.hover.AbstractConfigurableHover
    • getOptionsCategory

      protected String getOptionsCategory()
      Specified by:
      getOptionsCategory in class ghidra.app.plugin.core.hover.AbstractConfigurableHover
    • getHoverComponent

      public JComponent getHoverComponent(Program program, ProgramLocation location, 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
      Overrides:
      getHoverComponent in class ghidra.app.plugin.core.hover.AbstractReferenceHover
      Parameters:
      program - the program that is being hovered over.
      location - 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.