jodd-proxetta/src/main/java/jodd/methref/MethrefAdvice.java
public Object execute() {
		methodName = targetMethodName();

		Class returnType = returnType();

		if (returnType == String.class) {
			return ProxyTarget.returnValue(targetMethodName());
		}
		return ProxyTarget.returnValue(null);
	}
public Object execute() {
		methodName = targetMethodName();

		Class returnType = returnType();

		if (returnType == String.class) {
			return ProxyTarget.returnValue(targetMethodName());
		}
		return ProxyTarget.returnValue(null);
	}
public Object execute ( ) { methodName = targetMethodName ( ) ; Class returnType = returnType ( ) ; if ( returnType == String . class ) { return ProxyTarget . returnValue ( targetMethodName ( ) ) ; } return ProxyTarget . returnValue ( null ) ; }
Reads method name and stores it in local variable.
For methods that return <code>String</code> returns the method name,
otherwise returns <code>null</code>.
Reads method name and stores it in local variable . For methods that return <code > String< / code > returns the method name otherwise returns <code > null< / code > .