public static @Nullable PsiModifierListOwner getContainer(PsiFile file, int offset) {
    return getContainer(file, offset, false);
  }
public static @Nullable PsiModifierListOwner getContainer(PsiFile file, int offset)