goja-core/src/main/java/goja/core/kits/lang/RuntimeKit.java
public static String currentMethod() {
        StackTraceElement[] ste = new Exception().getStackTrace();
        int ndx = (ste.length > 1) ? 1 : 0;
        return new Exception().getStackTrace()[ndx].toString();
    }
public static String currentMethod() {
        StackTraceElement[] ste = new Exception().getStackTrace();
        int ndx = (ste.length > 1) ? 1 : 0;
        return new Exception().getStackTrace()[ndx].toString();
    }
public static String currentMethod ( ) { StackTraceElement [ ] ste = new Exception ( ) . getStackTrace ( ) ; int ndx = ( ste . length > 1 ) ? 1 : 0 ; return new Exception ( ) . getStackTrace ( ) [ ndx ] . toString ( ) ; }
Returns current method signature.
Returns current method signature .