A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / env / ISourceMethod.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.compiler.env;
12
13 public interface ISourceMethod extends IGenericMethod {
14
15         /**
16          * Answer the unresolved names of the argument types or null if the array is
17          * empty.
18          * 
19          * A name is a simple name or a qualified, dot separated name. For example,
20          * Hashtable or java.util.Hashtable.
21          */
22
23         char[][] getArgumentTypeNames();
24
25         /**
26          * Answer the source end position of the method's declaration.
27          */
28
29         int getDeclarationSourceEnd();
30
31         /**
32          * Answer the source start position of the method's declaration.
33          */
34
35         int getDeclarationSourceStart();
36
37         /**
38          * Answer the unresolved names of the exception types or null if the array
39          * is empty.
40          * 
41          * A name is a simple name or a qualified, dot separated name. For example,
42          * Hashtable or java.util.Hashtable.
43          */
44
45         char[][] getExceptionTypeNames();
46
47         /**
48          * Answer the source end position of the method's selector.
49          */
50
51         int getNameSourceEnd();
52
53         /**
54          * Answer the source start position of the method's selector.
55          */
56
57         int getNameSourceStart();
58
59         /**
60          * Answer the unresolved name of the return type or null if receiver is a
61          * constructor or clinit.
62          * 
63          * The name is a simple name or a qualified, dot separated name. For
64          * example, Hashtable or java.util.Hashtable.
65          */
66
67         char[] getReturnTypeName();
68 }