Class SarifBugReporter

    • Field Detail

      • gson

        private final com.google.gson.Gson gson
    • Constructor Detail

      • SarifBugReporter

        public SarifBugReporter​(Project project)
    • Method Detail

      • processRuns

        private void processRuns​(@NonNull
                                 com.google.gson.stream.JsonWriter jsonWriter)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • processInvocations

        private void processInvocations​(com.google.gson.stream.JsonWriter jsonWriter,
                                        @NonNull
                                        java.util.Map<java.net.URI,​java.lang.String> baseToId)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • processTool

        private void processTool​(@NonNull
                                 com.google.gson.stream.JsonWriter jsonWriter,
                                 @NonNull
                                 com.google.gson.JsonArray rules)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • processExtensions

        private void processExtensions​(@NonNull
                                       com.google.gson.stream.JsonWriter jsonWriter)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • addSupportedTaxonomies

        private void addSupportedTaxonomies​(@NonNull
                                            com.google.gson.stream.JsonWriter jsonWriter)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getExitCodeDescription

        private static java.lang.String getExitCodeDescription​(int exitCode)