Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2003, 2011 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 http://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.jdt.internal.compiler.lookup;
public class CatchParameterBinding extends LocalVariableBinding {
	TypeBinding [] preciseTypes = .;  // the catch block can be entered with the parameters set to these types.
	public CatchParameterBinding(LocalDeclaration declarationTypeBinding typeint modifiersboolean isArgument) {
		super(declarationtypemodifiersisArgument);
	}
	public TypeBinding [] getPreciseTypes() {
		return this.;
	}
	public void setPreciseType(TypeBinding raisedException) {
		int length = this..length;
		for (int i = 0; i < length; ++i) {
			if (this.[i] == raisedException)
				return;
		}
		System.arraycopy(this., 0, this. = new TypeBinding [length + 1], 0, length);
		this.[length] = raisedException;
		return;
	}
New to GrepCode? Check out our FAQ X