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
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 or null if the array is
19 * A name is a simple name or a qualified, dot separated name. For example,
20 * Hashtable or java.util.Hashtable.
23 char[][] getArgumentTypeNames();
26 * Answer the source end position of the method's declaration.
29 int getDeclarationSourceEnd();
32 * Answer the source start position of the method's declaration.
35 int getDeclarationSourceStart();
38 * Answer the unresolved names of the exception types or null if the array
41 * A name is a simple name or a qualified, dot separated name. For example,
42 * Hashtable or java.util.Hashtable.
45 char[][] getExceptionTypeNames();
48 * Answer the source end position of the method's selector.
51 int getNameSourceEnd();
54 * Answer the source start position of the method's selector.
57 int getNameSourceStart();
60 * Answer the unresolved name of the return type or null if receiver is a
61 * constructor or clinit.
63 * The name is a simple name or a qualified, dot separated name. For
64 * example, Hashtable or java.util.Hashtable.
67 char[] getReturnTypeName();