KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > compiler > env > ISourceMethod


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.compiler.env;
12
13 public interface ISourceMethod extends IGenericMethod {
14
15 /**
16  * Answer the source end position of the method's declaration.
17  */

18
19 int getDeclarationSourceEnd();
20 /**
21  * Answer the source start position of the method's declaration.
22  */

23
24 int getDeclarationSourceStart();
25 /**
26  * Answer the unresolved names of the exception types
27  * or null if the array is empty.
28  *
29  * A name is a simple name or a qualified, dot separated name.
30  * For example, Hashtable or java.util.Hashtable.
31  */

32
33 char[][] getExceptionTypeNames();
34 /**
35  * Answer the source end position of the method's selector.
36  */

37
38 int getNameSourceEnd();
39 /**
40  * Answer the source start position of the method's selector.
41  */

42
43 int getNameSourceStart();
44 /**
45  * Answer the unresolved name of the return type
46  * or null if receiver is a constructor or clinit.
47  *
48  * The name is a simple name or a qualified, dot separated name.
49  * For example, Hashtable or java.util.Hashtable.
50  */

51
52 char[] getReturnTypeName();
53 /**
54  * Answer the names of the receiver's type parameters
55  * or null if the array is empty.
56  */

57 char[][] getTypeParameterNames();
58 /**
59  * Answer the array of bound names of the receiver's type parameters
60  * or null if the array is empty.
61  */

62 char[][][] getTypeParameterBounds();
63 }
64
Popular Tags