public boolean isMock(Object instance) {
        try {
            return (Boolean) mAdvice.getClass().getMethod("isMock", Object.class).invoke(mAdvice,
                    instance);
        } catch (IllegalAccessException | InvocationTargetException | NoSuchMethodException e) {
            throw new IllegalStateException(e);
        }
    }
public boolean isMock ( Object instance ) { try { return ( Boolean ) mAdvice . getClass ( ) . getMethod ( "isMock" , Object . class ) . invoke ( mAdvice , instance ) ; } catch ( IllegalAccessException | InvocationTargetException | NoSuchMethodException e ) { throw new IllegalStateException ( e ) ; } }
Calls {@code MockMethodAdvice#isMock}