Package de.uni_kiel.rz.fdr.repl.groovy
Interface GroovyPatching
public interface GroovyPatching
All Groovy classes that have the
@Patches
annotation implement this interface.-
Method Summary
Modifier and TypeMethodDescriptiondefault Object
patcheeSuper
(String method, Object... parameters) Allows access to the patchee'ssuper
methods.
-
Method Details
-
patcheeSuper
Allows access to the patchee'ssuper
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.
-