code: private Context getContext() {
          Context context = mContext.get();
          if (context == null) {
              throw new IllegalStateException("Context used by the instance has been destroyed.");
          }
          return context;
      }
docs: Retrieve the context if not yet garbage collected.
  
  @return context.