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;
SingleMemberAnnotation node
public class SingleMemberAnnotation extends Annotation {
	private MemberValuePair[] singlePairs// fake pair set, only value has accurate positions
	public SingleMemberAnnotation(TypeReference typeint sourceStart) {
		this. = type;
		this. = sourceStart;
		this. = type.sourceEnd;
	}
	}

		if (this. == null) {
			this. =
				};
		}
		return this.;
	}
	public StringBuffer printExpression(int indentStringBuffer output) {
		super.printExpression(indentoutput);
		output.append('(');
		this..printExpression(indentoutput);
		return output.append(')');
	}
	public void traverse(ASTVisitor visitorBlockScope scope) {
		if (visitor.visit(thisscope)) {
			if (this. != null) {
				this..traverse(visitorscope);
			}
			if (this. != null) {
				this..traverse(visitorscope);
			}
		}
		visitor.endVisit(thisscope);
	}
New to GrepCode? Check out our FAQ X