#vulnerable code 
                              private int getOptimizeLevel() {
    return getOption(Options.OPTIMIZE_LEVEL);
  } 
                            #location 2 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                              private int getOptimizeLevel() {
    return getOptionValue(Options.OPTIMIZE_LEVEL).level;
  }