static Method getLastMethod() {
        Method method = lastMethod.get();
        if (method == null) {
            throw new IllegalStateException(NO_METHOD_CALL_RECORDED_MESSAGE);
        }
        return method;
    }
static Method getLastMethod() {
        Method method = lastMethod.get();
        if (method == null) {
            throw new IllegalStateException(NO_METHOD_CALL_RECORDED_MESSAGE);
        }
        return method;
    }
static Method getLastMethod ( ) { Method method = lastMethod . get ( ) ; if ( method == null ) { throw new IllegalStateException ( NO_METHOD_CALL_RECORDED_MESSAGE ) ; } return method ; }
<p>Getter for the field <code>lastMethod</code>.</p>

@return a {@link java.lang.reflect.Method} object.
<p > Getter for the field <code > lastMethod< / code > . < / p >