Bug 40772 [plan item] Smart tab on empty lines
When having the caret on an empty line, pressing tab cleans up the line and sets the caret it the right indentation column.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
* @param bound the lowest position to consider
	 * @return <code>true</code> if the code is a conditional statement or loop without a block, <code>false</code> otherwise
	 */
	private boolean isBracelessBlockStart(IDocument document, int position, int bound) {
		if (position < 1)
			return false;
		position= firstNonWhitespaceBackward(document, position - 1, fPartitioning, bound);
		if (position < 1)
			return false;
		
		if (looksLike(document, position, "do") 
				|| looksLike(document, position, "else")) 
			return true;
			
		try {
			
			if (")".equals(document.get(position, 1))) { 
				position= findOpeningParenMatch(document, position, fPartitioning);
				if (position > 0) {
					position= firstNonWhitespaceBackward(document, position - 1, fPartitioning, -1);
					if (position != -1) {
						if (looksLike(document, position, "if") 
								|| looksLike(document, position, "for") 
								|| looksLike(document, position, "while")) 
							return true;
					}
				}
			}
		} catch (BadLocationException e) {