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.env;
13 public interface ISourceMethod extends IGenericMethod {
16 * Answer the unresolved names of the argument types
17 * or null if the array is empty.
19 * A name is a simple name or a qualified, dot separated name.
20 * For example, Hashtable or java.util.Hashtable.
23 char[][] getArgumentTypeNames();
25 * Answer the source end position of the method's declaration.
28 int getDeclarationSourceEnd();
30 * Answer the source start position of the method's declaration.
33 int getDeclarationSourceStart();
35 * Answer the unresolved names of the exception types
36 * or null if the array is empty.
38 * A name is a simple name or a qualified, dot separated name.
39 * For example, Hashtable or java.util.Hashtable.
42 char[][] getExceptionTypeNames();
44 * Answer the source end position of the method's selector.
47 int getNameSourceEnd();
49 * Answer the source start position of the method's selector.
52 int getNameSourceStart();
54 * Answer the unresolved name of the return type
55 * or null if receiver is a constructor or clinit.
57 * The name is a simple name or a qualified, dot separated name.
58 * For example, Hashtable or java.util.Hashtable.
61 char[] getReturnTypeName();