Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2000, 2008 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.ast;
Normal annotation node
public class NormalAnnotation extends Annotation {
	public NormalAnnotation(TypeReference typeint sourceStart) {
		this. = type;
		this. = sourceStart;
		this. = type.sourceEnd;
	}
		int numberOfPairs = this. == null ? 0 : this..length;
		if (numberOfPairs == 0)
		ElementValuePair[] pairs = new ElementValuePair[numberOfPairs];
		for (int i = 0; i < numberOfPairsi++)
		return pairs;
	}

		return this. == null ?  : this.;
	}
	public StringBuffer printExpression(int indentStringBuffer output) {
		super.printExpression(indentoutput);
		output.append('(');
		if (this. != null) {
			for (int i = 0, max = this..lengthi < maxi++) {
				if (i > 0) {
					output.append(',');
				}
				this.[i].print(indentoutput);
			}
		}
		output.append(')');
		return output;
	}
	public void traverse(ASTVisitor visitorBlockScope scope) {
		if (visitor.visit(thisscope)) {
			if (this. != null) {
				this..traverse(visitorscope);
			}
			if (this. != null) {
				int memberValuePairsLength = this..length;
				for (int i = 0; i < memberValuePairsLengthi++)
					this.[i].traverse(visitorscope);
			}
		}
		visitor.endVisit(thisscope);
	}
New to GrepCode? Check out our FAQ X