1 /*******************************************************************************
2 * Copyright (c) 2000, 2003 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11 package net.sourceforge.phpdt.core;
13 import net.sourceforge.phpdt.core.compiler.IProblem;
17 * Adapter of the requestor interface <code>ICompletionRequestor</code>.
19 * This class is intended to be instanciated and subclassed by clients.
22 * @see ICompletionRequestor
25 public class CompletionRequestorAdapter implements ICompletionRequestor {
28 * @see ICompletionRequestor#acceptAnonymousType(char[], char[], char[][], char[][], char[][], char[], int, int, int)
30 public void acceptAnonymousType(
31 char[] superTypePackageName,
33 char[][] parameterPackageNames,
34 char[][] parameterTypeNames,
35 char[][] parameterNames,
36 char[] completionName,
44 * @see ICompletionRequestor#acceptClass(char[], char[], char[], int, int, int)
46 public void acceptClass(
49 char[] completionName,
57 * @see ICompletionRequestor#acceptError(IProblem)
59 public void acceptError(IProblem error) {
63 * @see ICompletionRequestor#acceptField(char[], char[], char[], char[], char[], char[], int, int, int)
65 public void acceptField(
66 char[] declaringTypePackageName,
67 char[] declaringTypeName,
69 char[] typePackageName,
71 char[] completionName,
79 * @see ICompletionRequestor#acceptInterface(char[], char[], char[], int, int, int)
81 public void acceptInterface(
84 char[] completionName,
92 * @see ICompletionRequestor#acceptKeyword(char[], int, int)
94 public void acceptKeyword(
102 * @see ICompletionRequestor#acceptLabel(char[], int, int)
104 public void acceptLabel(
112 * @see ICompletionRequestor#acceptLocalVariable(char[], char[], char[], int, int, int)
114 public void acceptLocalVariable(
116 char[] typePackageName,
125 * @see ICompletionRequestor#acceptMethod(char[], char[], char[], char[][], char[][], char[][], char[], char[], char[], int, int, int)
127 public void acceptMethod(
128 char[] declaringTypePackageName,
129 char[] declaringTypeName,
131 char[][] parameterPackageNames,
132 char[][] parameterTypeNames,
133 char[][] parameterNames,
134 char[] returnTypePackageName,
135 char[] returnTypeName,
136 char[] completionName,
144 * @see ICompletionRequestor#acceptMethodDeclaration(char[], char[], char[], char[][], char[][], char[][], char[], char[], char[], int, int, int)
146 public void acceptMethodDeclaration(
147 char[] declaringTypePackageName,
148 char[] declaringTypeName,
150 char[][] parameterPackageNames,
151 char[][] parameterTypeNames,
152 char[][] parameterNames,
153 char[] returnTypePackageName,
154 char[] returnTypeName,
155 char[] completionName,
163 * @see ICompletionRequestor#acceptModifier(char[], int, int)
165 public void acceptModifier(
173 * @see ICompletionRequestor#acceptPackage(char[], char[], int, int)
175 public void acceptPackage(
177 char[] completionName,
184 * @see ICompletionRequestor#acceptType(char[], char[], char[], int, int)
186 public void acceptType(
189 char[] completionName,
196 * @see ICompletionRequestor#acceptVariableName(char[], char[], char[], char[], int, int)
198 public void acceptVariableName(
199 char[] typePackageName,
202 char[] completionName,