Class SARIFHelper


  • public class SARIFHelper
    extends Object
    • Constructor Detail

      • SARIFHelper

        public SARIFHelper()
    • Method Detail

      • initialJson

        public org.json.JSONObject initialJson()
      • getToolInfo

        public org.json.JSONObject getToolInfo()
      • getMessage

        public org.json.JSONObject getMessage​(String text,
                                              String richText)
      • getFileName

        public String getFileName​(boomerang.scene.WrappedClass c)
      • getLocations

        public org.json.JSONArray getLocations​(boomerang.scene.WrappedClass c,
                                               String methodName,
                                               int lineNumber,
                                               String method,
                                               String statement)
      • getRuleDescription

        public String getRuleDescription​(String ruleId)