void (final PyStatementList statementList) { final PyStatement[] statements = statementList.getStatements(); if (statements.length > 1) { for (PyStatement statement : statements) { if (statement instanceof PyPassStatement) { statement.delete(); } } } }