void (@NotNull PsiDeclarationStatement statement) { startElement(statement); int pc = myCurrentFlow.getSize(); PsiElement[] elements = statement.getDeclaredElements(); for (PsiElement element : elements) { ProgressManager.checkCanceled(); if (element instanceof PsiClass) { element.accept(this); } else if (element instanceof PsiVariable) { processVariable((PsiVariable)element); } } if (pc == myCurrentFlow.getSize()) { // generate at least one instruction for declaration emitEmptyInstruction(); } finishElement(statement); }