blob: 1cc38aa3f5b76bda4c08f94d23f975befcc7f2c2 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2004 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.core;
import org.eclipse.jdt.core.compiler.IProblem;
/**
* Adapter of the requestor interface <code>ICompletionRequestor</code>.
* <p>
* This class is intended to be instantiated and subclassed by clients.
* </p>
*
* @see ICompletionRequestor
* @since 2.0
* @deprecated Subclass {@link CompletionRequestor} instead.
*/
public class CompletionRequestorAdapter implements ICompletionRequestor {
/*
* @see ICompletionRequestor#acceptAnonymousType(char[], char[], char[][], char[][], char[][], char[], int, int, int)
*/
public void acceptAnonymousType(
char[] superTypePackageName,
char[] superTypeName,
char[][] parameterPackageNames,
char[][] parameterTypeNames,
char[][] parameterNames,
char[] completionName,
int modifiers,
int completionStart,
int completionEnd,
int relevance) {
// default behavior is to ignore
}
/*
* @see ICompletionRequestor#acceptClass(char[], char[], char[], int, int, int)
*/
public void acceptClass(
char[] packageName,
char[] className,
char[] completionName,
int modifiers,
int completionStart,
int completionEnd,
int relevance) {
// default behavior is to ignore
}
/*
* @see ICompletionRequestor#acceptError(IProblem)
*/
public void acceptError(IProblem error) {
// default behavior is to ignore
}
/*
* @see ICompletionRequestor#acceptField(char[], char[], char[], char[], char[], char[], int, int, int)
*/
public void acceptField(
char[] declaringTypePackageName,
char[] declaringTypeName,
char[] name,
char[] typePackageName,
char[] typeName,
char[] completionName,
int modifiers,
int completionStart,
int completionEnd,
int relevance) {
// default behavior is to ignore
}
/*
* @see ICompletionRequestor#acceptInterface(char[], char[], char[], int, int, int)
*/
public void acceptInterface(
char[] packageName,
char[] interfaceName,
char[] completionName,
int modifiers,
int completionStart,
int completionEnd,
int relevance) {
// default behavior is to ignore
}
/*
* @see ICompletionRequestor#acceptKeyword(char[], int, int)
*/
public void acceptKeyword(
char[] keywordName,
int completionStart,
int completionEnd,
int relevance) {
// default behavior is to ignore
}
/*
* @see ICompletionRequestor#acceptLabel(char[], int, int)
*/
public void acceptLabel(
char[] labelName,
int completionStart,
int completionEnd,
int relevance) {
// default behavior is to ignore
}
/*
* @see ICompletionRequestor#acceptLocalVariable(char[], char[], char[], int, int, int)
*/
public void acceptLocalVariable(
char[] name,
char[] typePackageName,
char[] typeName,
int modifiers,
int completionStart,
int completionEnd,
int relevance) {
// default behavior is to ignore
}
/*
* @see ICompletionRequestor#acceptMethod(char[], char[], char[], char[][], char[][], char[][], char[], char[], char[], int, int, int)
*/
public void acceptMethod(
char[] declaringTypePackageName,
char[] declaringTypeName,
char[] selector,
char[][] parameterPackageNames,
char[][] parameterTypeNames,
char[][] parameterNames,
char[] returnTypePackageName,
char[] returnTypeName,
char[] completionName,
int modifiers,
int completionStart,
int completionEnd,
int relevance) {
// default behavior is to ignore
}
/*
* @see ICompletionRequestor#acceptMethodDeclaration(char[], char[], char[], char[][], char[][], char[][], char[], char[], char[], int, int, int)
*/
public void acceptMethodDeclaration(
char[] declaringTypePackageName,
char[] declaringTypeName,
char[] selector,
char[][] parameterPackageNames,
char[][] parameterTypeNames,
char[][] parameterNames,
char[] returnTypePackageName,
char[] returnTypeName,
char[] completionName,
int modifiers,
int completionStart,
int completionEnd,
int relevance) {
// default behavior is to ignore
}
/*
* @see ICompletionRequestor#acceptModifier(char[], int, int)
*/
public void acceptModifier(
char[] modifierName,
int completionStart,
int completionEnd,
int relevance) {
// default behavior is to ignore
}
/*
* @see ICompletionRequestor#acceptPackage(char[], char[], int, int)
*/
public void acceptPackage(
char[] packageName,
char[] completionName,
int completionStart,
int completionEnd,
int relevance) {
// default behavior is to ignore
}
/*
* @see ICompletionRequestor#acceptType(char[], char[], char[], int, int)
*/
public void acceptType(
char[] packageName,
char[] typeName,
char[] completionName,
int completionStart,
int completionEnd,
int relevance) {
// default behavior is to ignore
}
/*
* @see ICompletionRequestor#acceptVariableName(char[], char[], char[], char[], int, int)
*/
public void acceptVariableName(
char[] typePackageName,
char[] typeName,
char[] name,
char[] completionName,
int completionStart,
int completionEnd,
int relevance) {
// default behavior is to ignore
}
}