KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > core > util > ReferenceInfoAdapter


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.internal.core.util;
12
13 /**
14  * An adapter which implements the methods for handling
15  * reference information from the parser.
16  */

17 public abstract class ReferenceInfoAdapter {
18 /**
19  * Does nothing.
20  */

21 public void acceptConstructorReference(char[] typeName, int argCount, int sourcePosition) {
22     // Does nothing
23
}
24 /**
25  * Does nothing.
26  */

27 public void acceptFieldReference(char[] fieldName, int sourcePosition) {
28     // Does nothing
29
}
30 /**
31  * Does nothing.
32  */

33 public void acceptMethodReference(char[] methodName, int argCount, int sourcePosition) {
34     // Does nothing
35
}
36 /**
37  * Does nothing.
38  */

39 public void acceptTypeReference(char[][] typeName, int sourceStart, int sourceEnd) {
40     // Does nothing
41
}
42 /**
43  * Does nothing.
44  */

45 public void acceptTypeReference(char[] typeName, int sourcePosition) {
46     // Does nothing
47
}
48 /**
49  * Does nothing.
50  */

51 public void acceptUnknownReference(char[][] name, int sourceStart, int sourceEnd) {
52     // Does nothing
53
}
54 /**
55  * Does nothing.
56  */

57 public void acceptUnknownReference(char[] name, int sourcePosition) {
58     // Does nothing
59
}
60 }
61
Popular Tags