Bug 24920 quick fix: fooled by additional dimentions in method declarations [quick fix]
public class DD { private int DD()[]{ }; } add return statement - it puts retrun 0 instead of return null
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/astrewrite/ASTRewritingStatementsTest.java
Block body= ast.newBlock();
			body.statements().add(ast.newReturnStatement());
			
			rewrite.markAsReplaced(tryStatement.getFinally(), body);
		}
		{ 
			TryStatement tryStatement= (TryStatement) blockStatements.get(1);
			
			List catchClauses= tryStatement.catchClauses();
			
			CatchClause catchClause= ast.newCatchClause();
			SingleVariableDeclaration decl= ast.newSingleVariableDeclaration();
			decl.setType(ast.newSimpleType(ast.newSimpleName("Exception")));
			decl.setName(ast.newSimpleName("x"));
			catchClause.setException(decl);
			
			rewrite.markAsReplaced((ASTNode) catchClauses.get(0), catchClause);
					
			rewrite.markAsRemoved(tryStatement.getFinally());
		}
		{ 
			TryStatement tryStatement= (TryStatement) blockStatements.get(2);
			
			List catchClauses= tryStatement.catchClauses();
			rewrite.markAsRemoved((ASTNode) catchClauses.get(0));
			
			
			Block body= ast.newBlock();
			body.statements().add(ast.newReturnStatement());