Bug 43032 Autoindent/Smart Tab in case statement
... case label: { <press Enter here> I <new cursor position> Indentation level should be one less.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java
private IDocument fDocument;
	
	private int fIndent;
	
	private int fAlign;
	
	private boolean fAlignPlusOne;
	
	private int fPosition;
	
	private int fPreviousPos;
	
	private int fToken;
	/** 
	 * The scanner we will use to scan the document. It has to be installed on the same document
	 * as the one we get.
	 */
	private JavaHeuristicScanner fScanner;
	
	/**
	 * Creates a new instance.
	 * 
	 * @param document the document to scan
	 */
	public JavaIndenter(IDocument document, JavaHeuristicScanner scanner) {
		Assert.isNotNull(document);
		Assert.isNotNull(scanner);