Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2000, 2010 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.core;
public class AnnotatableInfo extends MemberElementInfo {
	/*
	 * The annotations of this annotatble. Empty if none.
	 */
The start position of this member's name in the its openable's buffer.
	protected int nameStart= -1;

The last position of this member's name in the its openable's buffer.
	protected int nameEnd= -1;

	public int getNameSourceEnd() {
		return this.;
	}
	public int getNameSourceStart() {
		return this.;
	}
Sets the last position of this member's name, relative to its openable's source buffer.
	protected void setNameSourceEnd(int end) {
		this.end;
	}
Sets the start position of this member's name, relative to its openable's source buffer.
	protected void setNameSourceStart(int start) {
		this.start;
	}
	protected ISourceRange getNameRange() {
		return new SourceRange(this.this. - this. + 1);
	}
New to GrepCode? Check out our FAQ X