Interface GroovyPatching


public interface GroovyPatching
All Groovy classes that have the @Patches annotation implement this interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Object
    patcheeSuper(String method, Object... parameters)
    Allows access to the patchee's super methods.
  • Method Details

    • patcheeSuper

      default Object patcheeSuper(String method, Object... parameters)
      Allows access to the patchee's super methods. They are shadowed after patching, because the patchee is now the superclass of your Groovy class. With this method, you may still access the target's original superclass.
      Parameters:
      method - The name of the method to invoke on the target's superclass.
      parameters - The parameters of the method call.
      Returns:
      The return value of the mehod call.