public static NullnessAnalysis instance(Context context) {
    NullnessAnalysis instance = context.get(NULLNESS_ANALYSIS_KEY);
    if (instance == null) {
      instance = new NullnessAnalysis();
      context.put(NULLNESS_ANALYSIS_KEY, instance);
    }
    return instance;
  }
public static NullnessAnalysis instance ( Context context ) { NullnessAnalysis instance = context . get ( NULLNESS_ANALYSIS_KEY ) ; if ( instance == null ) { instance = new NullnessAnalysis ( ) ; context . put ( NULLNESS_ANALYSIS_KEY , instance ) ; } return instance ; }
Retrieve an instance of {@link NullnessAnalysis} from the {@code context}. If there is no
{@link NullnessAnalysis} currently in the {@code context}, create one, insert it, and return
it.