void (PsiDeclarationStatement declarationStatement) { if (declarationStatement.getDeclaredElements().length == 1) { PsiLocalVariable localVariable = (PsiLocalVariable) declarationStatement.getDeclaredElements()[0]; invokeOnVariable(localVariable); } }