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 http://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.jdt.internal.codeassist.complete;
	public CompletionOnAnnotationMemberValuePair(TypeReference typeint sourceStartMemberValuePair[] memberValuePairsMemberValuePair completedMemberValuePair) {
		super(typesourceStart);
		this. = memberValuePairs;
		this. = completedMemberValuePair;
	}
	public TypeBinding resolveType(BlockScope scope) {
		super.resolveType(scope);
		if (this. == null || !this..isValidBinding()) {
			throw new CompletionNodeFound();
else {
		}
	}
	public StringBuffer printExpression(int indentStringBuffer output) {
		output.append('@');
		this..printExpression(0, output);
		output.append('(');
		if (this. != null) {
			for (int i = 0, max = this..lengthi < maxi++) {
				if (i > 0) {
					output.append(',');
				}
				this.[i].print(indentoutput);
			}
			output.append(',');
		}
		this..print(indentoutput);
		output.append(')');
		return output;
	}
New to GrepCode? Check out our FAQ X