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/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java
throw new InvalidInputException("End of File");
			}
		} while (curr != tok); 
	}	
	
	public static int getPositionAfter(IScanner scanner, int token) throws InvalidInputException {
		readToToken(scanner, token);
		return scanner.getCurrentTokenEndPosition() + 1;
	}
	
	public static int getPositionBefore(IScanner scanner, int token) throws InvalidInputException {
		readToToken(scanner, token);
		return scanner.getCurrentTokenStartPosition();
	}
	
	public static int getPositionAfter(IScanner scanner, int defaultPos, int[] tokens) throws InvalidInputException {
		int pos= defaultPos;
		loop: while(true) {
			int curr= scanner.getNextToken();
			if (curr == ITerminalSymbols.TokenNameEOF) {
				return pos;
			}
			for (int i= 0; i < tokens.length; i++) {
				if (tokens[i] == curr) {
					pos= scanner.getCurrentTokenEndPosition() + 1;
					continue loop;
				}
			}
			return pos;
		}