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
Expression newCaseExpression= ast.newNumberLiteral("10");
			rewrite.markAsReplaced(caseStatement.getExpression(), newCaseExpression);
			
			{
				
				SwitchCase caseStatement2= ast.newSwitchCase();
				caseStatement2.setExpression(ast.newNumberLiteral("11"));
				rewrite.markAsInserted(caseStatement2);
				statements.add(0, caseStatement2);
	
				
				Statement statement1= ast.newReturnStatement();
				rewrite.markAsInserted(statement1);
				statements.add(1, statement1);
			}
			
			{
				
				SwitchCase caseStatement2= ast.newSwitchCase();
				caseStatement2.setExpression(ast.newNumberLiteral("12"));
				rewrite.markAsInserted(caseStatement2);
				statements.add(caseStatement2);
	
				
				Statement statement1= ast.newReturnStatement();
				rewrite.markAsInserted(statement1);
				statements.add(statement1);
			}			
			
		}