1 /*******************************************************************************
2 * Copyright (c) 2000, 2001, 2002 International Business Machines Corp. and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v0.5
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v05.html
9 * IBM Corporation - initial API and implementation
10 ******************************************************************************/
11 package net.sourceforge.phpdt.internal.compiler;
13 import net.sourceforge.phpdt.core.compiler.IProblem;
15 public class SourceElementRequestorAdapter implements ISourceElementRequestor {
18 * @see ISourceElementRequestor#acceptConstructorReference(char[], int, int)
20 public void acceptConstructorReference(
27 * @see ISourceElementRequestor#acceptFieldReference(char[], int)
29 public void acceptFieldReference(char[] fieldName, int sourcePosition) {
33 * @see ISourceElementRequestor#acceptImport(int, int, char[], boolean)
35 public void acceptImport(
43 * @see ISourceElementRequestor#acceptLineSeparatorPositions(int[])
45 public void acceptLineSeparatorPositions(int[] positions) {
49 * @see ISourceElementRequestor#acceptMethodReference(char[], int, int)
51 public void acceptMethodReference(
58 * @see ISourceElementRequestor#acceptPackage(int, int, char[])
60 public void acceptPackage(
67 * @see ISourceElementRequestor#acceptProblem(IProblem)
69 public void acceptProblem(IProblem problem) {
73 * @see ISourceElementRequestor#acceptTypeReference(char[][], int, int)
75 public void acceptTypeReference(
82 * @see ISourceElementRequestor#acceptTypeReference(char[], int)
84 public void acceptTypeReference(char[] typeName, int sourcePosition) {
88 * @see ISourceElementRequestor#acceptUnknownReference(char[][], int, int)
90 public void acceptUnknownReference(
97 * @see ISourceElementRequestor#acceptUnknownReference(char[], int)
99 public void acceptUnknownReference(char[] name, int sourcePosition) {
103 * @see ISourceElementRequestor#enterClass(int, int, char[], int, int, char[], char[][])
105 public void enterClass(
106 int declarationStart,
112 char[][] superinterfaces) {
116 * @see ISourceElementRequestor#enterCompilationUnit()
118 public void enterCompilationUnit() {
122 * @see ISourceElementRequestor#enterConstructor(int, int, char[], int, int, char[][], char[][], char[][])
124 public void enterConstructor(
125 int declarationStart,
130 char[][] parameterTypes,
131 char[][] parameterNames,
132 char[][] exceptionTypes) {
136 * @see ISourceElementRequestor#enterField(int, int, char[], char[], int, int)
138 public void enterField(
139 int declarationStart,
148 * @see ISourceElementRequestor#enterInitializer(int, int)
150 public void enterInitializer(int declarationStart, int modifiers) {
154 * @see ISourceElementRequestor#enterInterface(int, int, char[], int, int, char[][])
156 public void enterInterface(
157 int declarationStart,
162 char[][] superinterfaces) {
166 * @see ISourceElementRequestor#enterMethod(int, int, char[], char[], int, int, char[][], char[][], char[][])
168 public void enterMethod(
169 int declarationStart,
175 char[][] parameterTypes,
176 char[][] parameterNames,
177 char[][] exceptionTypes) {
181 * @see ISourceElementRequestor#exitClass(int)
183 public void exitClass(int declarationEnd) {
187 * @see ISourceElementRequestor#exitCompilationUnit(int)
189 public void exitCompilationUnit(int declarationEnd) {
193 * @see ISourceElementRequestor#exitConstructor(int)
195 public void exitConstructor(int declarationEnd) {
199 * @see ISourceElementRequestor#exitField(int)
201 public void exitField(int declarationEnd) {
205 * @see ISourceElementRequestor#exitInitializer(int)
207 public void exitInitializer(int declarationEnd) {
211 * @see ISourceElementRequestor#exitInterface(int)
213 public void exitInterface(int declarationEnd) {
217 * @see ISourceElementRequestor#exitMethod(int)
219 public void exitMethod(int declarationEnd) {