public static VisitorState createForUtilityPurposes ( Context context ) { return new VisitorState ( context , VisitorState :: nullListener , ImmutableMap . of ( ) , ErrorProneOptions . empty ( ) , // Can't use this VisitorState to report results, so no-op collector. StatisticsCollector . createNoOpCollector ( ) , null , null , SuppressedState . UNSUPPRESSED ) ; }
Return a VisitorState that has no Error Prone configuration and can t report results .