@Override public void visitDeclarationStatement(@NotNull PsiDeclarationStatement statement) {
    startElement(statement);
    int startSize = getInstructionCount();

    PsiElement[] elements = statement.getDeclaredElements();
    for (PsiElement element : elements) {
      if (element instanceof PsiClass) {
        handleClosure(element);
      }
      else if (element instanceof PsiVariable variable) {
        PsiExpression initializer = variable.getInitializer();
        if (initializer != null) {
          initializeVariable(variable, initializer);
        }
      }
    }
    if (getInstructionCount() == startSize) {
      // Add no-op instruction if the statement has no instructions at all,
      // so it could be anchored in debugger.
      addInstruction(new SpliceInstruction(0));
    }

    finishElement(statement);
  }
@Override public void visitDeclarationStatement(@NotNull PsiDeclarationStatement statement)