public static SentryClient getStoredClient() {
        if (storedClient != null) {
            return storedClient;
        }

        synchronized (Sentry.class) {
            if (storedClient == null && !autoInitAttempted.get()) {
                // attempt initialization by using configuration found in the environment
                autoInitAttempted.set(true);
                init();
            }
        }

        return storedClient;
    }
public static SentryClient getStoredClient ( ) { if ( storedClient != null ) { return storedClient ; } synchronized ( Sentry . class ) { if ( storedClient == null && ! autoInitAttempted . get ( ) ) { autoInitAttempted . set ( true ) ; init ( ) ; } } return storedClient ; }
Returns the last statically stored {@link SentryClient} instance. If no instance
is already stored, the {@link #init()} method will be called one time in an attempt to
create a {@link SentryClient}.

@return statically stored {@link SentryClient} instance, or null.