public static int adjustOffset(@Nullable PsiFile file, Document document, final int offset) {
    return TargetElementUtilBase.adjustOffset(file, document, offset);
  }
public static int adjustOffset(@Nullable PsiFile file, Document document, final int offset)