output: #fixed code
                                  @Override
      @JsonIgnore
      public Granularity getGranularity() {
          return getInnerQueryUnchecked().getGranularity();
      }
input: #vulnerable code 
                                  @Override
      @JsonIgnore
      public Granularity getGranularity() {
          return getInnerQuery().getGranularity();
      } 
                              #location 4 
                              #vulnerability type NULL_DEREFERENCE