Annotation Type PluginInfo


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface PluginInfo
    Information about a Ghidra Plugin.

    Example:

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class<? extends PluginEvent>[] eventsConsumed
      List of PluginEvents (classes) that this Plugin consumes.
      java.lang.Class<? extends PluginEvent>[] eventsProduced
      List of PluginEvent (classes) that this Plugin produces.
      boolean isSlowInstallation
      Signals that this plugin loads slowly.
      java.lang.Class<?>[] servicesProvided
      List of service interface Classes that this Plugin provides.
      java.lang.Class<?>[] servicesRequired
      List of service interface Classes that this Plugin requires (depends on).
      • packageName

        java.lang.String packageName
        The package name this plugin belongs in.

        Use XYZPluginPackage.NAME

        Returns:
        String package name
      • category

        java.lang.String category
        See PluginCategoryNames

        • PluginCategoryNames.COMMON
        • PluginCategoryNames.SUPPORT
        • PluginCategoryNames.etc
        Returns:
        String category
      • shortDescription

        java.lang.String shortDescription
        A brief description of what the plugin does.

        This string probably should not end with a "." character.

        Returns:
        String brief description of what the plugin does.
      • description

        java.lang.String description
        The long description of what the plugin does.

        This string probably should end with a "." character.

        Returns:
        String description of what the plugin does
      • isSlowInstallation

        boolean isSlowInstallation
        Signals that this plugin loads slowly.
        Returns:
        boolean
        Default:
        false
      • eventsConsumed

        java.lang.Class<? extends PluginEvent>[] eventsConsumed
        List of PluginEvents (classes) that this Plugin consumes.
        Returns:
        PluginEvent class list, defaults to empty.
        Default:
        {}
      • eventsProduced

        java.lang.Class<? extends PluginEvent>[] eventsProduced
        List of PluginEvent (classes) that this Plugin produces.
        Returns:
        PluginEvent class list, defaults to emtpy.
        Default:
        {}
      • servicesRequired

        java.lang.Class<?>[] servicesRequired
        List of service interface Classes that this Plugin requires (depends on).
        Returns:
        List of Classes, defaults to empty.
        Default:
        {}
      • servicesProvided

        java.lang.Class<?>[] servicesProvided
        List of service interface Classes that this Plugin provides.
        Returns:
        List of Classes, defaults to empty.
        Default:
        {}