A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / core / util / ReferenceInfoAdapter.java
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
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  *******************************************************************************/
11 package net.sourceforge.phpdt.internal.core.util;
12
13 /**
14  * An adapter which implements the methods for handling reference information
15  * from the parser.
16  */
17 public abstract class ReferenceInfoAdapter {
18         /**
19          * Does nothing.
20          */
21         public void acceptConstructorReference(char[] typeName, int argCount,
22                         int sourcePosition) {
23         }
24
25         /**
26          * Does nothing.
27          */
28         public void acceptFieldReference(char[] fieldName, int sourcePosition) {
29         }
30
31         /**
32          * Does nothing.
33          */
34         public void acceptMethodReference(char[] methodName, int argCount,
35                         int sourcePosition) {
36         }
37
38         /**
39          * Does nothing.
40          */
41         public void acceptTypeReference(char[][] typeName, int sourceStart,
42                         int sourceEnd) {
43         }
44
45         /**
46          * Does nothing.
47          */
48         public void acceptTypeReference(char[] typeName, int sourcePosition) {
49         }
50
51         /**
52          * Does nothing.
53          */
54         public void acceptUnknownReference(char[][] name, int sourceStart,
55                         int sourceEnd) {
56         }
57
58         /**
59          * Does nothing.
60          */
61         public void acceptUnknownReference(char[] name, int sourcePosition) {
62         }
63 }