@Nullable
  @Contract("null -> null")
  private static PsiElement getContainingStatementOrBlock(@Nullable PsiElement statement) {
    return PsiTreeUtil.getParentOfType(statement, PsiStatement.class, PsiCodeBlock.class);
  }
@Nullable
  @Contract("null -> null")
  private static PsiElement getContainingStatementOrBlock(@Nullable PsiElement statement)