Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2005, 2009 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.jdt.internal.codeassist.complete;
	public static final int BREAK = 1;
	public static final int CONTINUE = 2;
	private int kind;
	public char[][] possibleLabels;
	public CompletionOnBranchStatementLabel(int kindchar[] lint sint echar[][] possibleLabels) {
		this. = kind;
		this. = possibleLabels;
	public FlowInfo analyseCode(BlockScope currentScope,
			FlowContext flowContextFlowInfo flowInfo) {
		// Is never called
		return null;
	public void resolve(BlockScope scope) {
		throw new CompletionNodeFound(thisscope);
	public StringBuffer printStatement(int indentStringBuffer output) {
		if(this. == ) {
			output.append("continue "); //$NON-NLS-1$
else {
			output.append("break "); //$NON-NLS-1$
		output.append("<CompleteOnLabel:"); //$NON-NLS-1$
		return output.append(">;"); //$NON-NLS-1$
New to GrepCode? Check out our FAQ X