Package soot.options

Class NPCOptions


  • @Generated(value="Saxonica v3.0",
               comments="from soot_options.xml")
    public class NPCOptions
    extends Object
    Option parser for Null Pointer Checker.
    • Constructor Detail

    • Method Detail

      • enabled

        public boolean enabled()
        Enabled
      • only_array_ref

        public boolean only_array_ref()
        Only Array Ref -- Annotate only array references. Annotate only array-referencing instructions, instead of all instructions that need null pointer checks.
      • profiling

        public boolean profiling()
        Profiling -- Insert instructions to count safe pointer accesses. Insert profiling instructions that at runtime count the number of eliminated safe null pointer checks. The inserted profiling code assumes the existence of a MultiCounter class implementing the methods invoked. For details, see the NullPointerChecker source code.