01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.internal.core.util;
11:
12: /**
13: * An adapter which implements the methods for handling
14: * reference information from the parser.
15: */
16: public abstract class ReferenceInfoAdapter {
17: /**
18: * Does nothing.
19: */
20: public void acceptConstructorReference(char[] typeName,
21: int argCount, int sourcePosition) {
22: // Does nothing
23: }
24:
25: /**
26: * Does nothing.
27: */
28: public void acceptFieldReference(char[] fieldName,
29: int sourcePosition) {
30: // Does nothing
31: }
32:
33: /**
34: * Does nothing.
35: */
36: public void acceptMethodReference(char[] methodName, int argCount,
37: int sourcePosition) {
38: // Does nothing
39: }
40:
41: /**
42: * Does nothing.
43: */
44: public void acceptTypeReference(char[][] typeName, int sourceStart,
45: int sourceEnd) {
46: // Does nothing
47: }
48:
49: /**
50: * Does nothing.
51: */
52: public void acceptTypeReference(char[] typeName, int sourcePosition) {
53: // Does nothing
54: }
55:
56: /**
57: * Does nothing.
58: */
59: public void acceptUnknownReference(char[][] name, int sourceStart,
60: int sourceEnd) {
61: // Does nothing
62: }
63:
64: /**
65: * Does nothing.
66: */
67: public void acceptUnknownReference(char[] name, int sourcePosition) {
68: // Does nothing
69: }
70: }
|