All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.jdt.internal.codeassist.complete.CompletionOnMemberValueName Maven / Gradle / Ivy

/*******************************************************************************
 * 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;

import org.eclipse.jdt.internal.compiler.ast.MemberValuePair;

/*
 * Completion node build by the parser in any case it was intending to
 * reduce annotation's attribute name containing the cursor.
 * e.g.
 *
 *	@Annot(attri[cursor]
 *	class X {
 *  }
 *
 *	---> @Annot()
 *		 class X {
 *       }
 */
public class CompletionOnMemberValueName extends MemberValuePair {
	public CompletionOnMemberValueName(char[] token, int sourceStart, int sourceEnd) {
		super(token, sourceStart, sourceEnd, null);
	}

	public StringBuffer print(int indent, StringBuffer output) {
		output.append("');
		return output;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy