Package jodd.methref
Class MethrefAdvice
- java.lang.Object
-
- jodd.methref.MethrefAdvice
-
- All Implemented Interfaces:
ProxyAdvice
public class MethrefAdvice extends java.lang.Object implements ProxyAdvice
Methref advice applied on all methods. It puts method name in class variable that can be accessed later using reflection.
-
-
Constructor Summary
Constructors Constructor Description MethrefAdvice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectexecute()Reads method name and stores it in local variable.
-
-
-
Method Detail
-
execute
public java.lang.Object execute()
Reads method name and stores it in local variable. For methods that returnStringreturns the method name, otherwise returnsnull.- Specified by:
executein interfaceProxyAdvice
-
-