Package jodd.methref

Class 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.Object execute()
      Reads method name and stores it in local variable.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MethrefAdvice

        public MethrefAdvice()
    • Method Detail

      • execute

        public java.lang.Object execute()
        Reads method name and stores it in local variable. For methods that return String returns the method name, otherwise returns null.
        Specified by:
        execute in interface ProxyAdvice