Interface Plugin.Engine.Listener

    • Method Detail

      • onDiscovery

        void onDiscovery​(java.lang.String typeName)
        Invoked upon discovering a type but prior to its resolution.
        Parameters:
        typeName - The name of the discovered type.
      • onTransformation

        void onTransformation​(TypeDescription typeDescription,
                              Plugin plugin)
        Invoked after a type was transformed using a specific plugin.
        Parameters:
        typeDescription - The type being transformed.
        plugin - The plugin that was applied.
      • onTransformation

        void onTransformation​(TypeDescription typeDescription,
                              java.util.List<Plugin> plugins)
        Invoked after a type was transformed using at least one plugin.
        Parameters:
        typeDescription - The type being transformed.
        plugins - A list of plugins that were applied.
      • onIgnored

        void onIgnored​(TypeDescription typeDescription,
                       Plugin plugin)
        Invoked if a type description is ignored by a given plugin. This callback is not invoked, if the ignore type matcher excluded a type from transformation.
        Parameters:
        typeDescription - The type being transformed.
        plugin - The plugin that ignored the given type.
      • onIgnored

        void onIgnored​(TypeDescription typeDescription,
                       java.util.List<Plugin> plugins)
        Invoked if one or more plugins did not transform a type. This callback is also invoked if an ignore matcher excluded a type from transformation.
        Parameters:
        typeDescription - The type being transformed.
        plugins - the plugins that ignored the type.
      • onComplete

        void onComplete​(TypeDescription typeDescription)
        Invoked upon completing handling a type that was either transformed or ignored.
        Parameters:
        typeDescription - The type that was transformed.