@SuppressWarnings("unchecked")
  @Override
  public void registerFile(CompileContext context, String filePath,
                           Iterable<Map.Entry<? extends JavacRef, Integer>> refs,
                           Collection<? extends JavacDef> defs,
                           Collection<? extends JavacTypeCast> casts,
                           Collection<? extends JavacRef> implicitToString) {
    BackwardReferenceIndexUtil.registerFile(filePath, refs, defs, casts, implicitToString, myWriter);
  }
@SuppressWarnings("unchecked")
  @Override
  public void registerFile(CompileContext context, String filePath,
                           Iterable<Map.Entry<? extends JavacRef, Integer>> refs,
                           Collection<? extends JavacDef> defs,
                           Collection<? extends JavacTypeCast> casts,
                           Collection<? extends JavacRef> implicitToString)