KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > aspectj > lang > reflect > InterTypeMethodDeclaration


1 /* *******************************************************************
2  * Copyright (c) 2005 Contributors.
3  * All rights reserved.
4  * This program and the accompanying materials are made available
5  * under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution and is available at
7  * http://eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  * Adrian Colyer Initial implementation
11  * ******************************************************************/

12 package org.aspectj.lang.reflect;
13
14 import java.lang.reflect.Method JavaDoc;
15 import java.lang.reflect.Type JavaDoc;
16 import java.lang.reflect.TypeVariable JavaDoc;
17
18 /**
19  * Represents an inter-type method declaration member within an aspect.
20  */

21 public interface InterTypeMethodDeclaration extends InterTypeDeclaration {
22
23     /**
24      * The name of this method
25      */

26     String JavaDoc getName();
27     
28     /**
29      * The method return type
30      */

31     AjType<?> getReturnType();
32     
33     /**
34      * The generic return type
35      */

36     Type JavaDoc getGenericReturnType();
37     
38     /**
39      * The method parameters
40      */

41     AjType<?>[] getParameterTypes();
42     
43     /**
44      * The generic method parameters
45      */

46     Type JavaDoc[] getGenericParameterTypes();
47     
48     /**
49      * The type variables declared by this method
50      */

51     TypeVariable JavaDoc<Method JavaDoc>[] getTypeParameters();
52     
53     /**
54      * The declared exceptions thrown by this method
55      */

56     AjType<?>[] getExceptionTypes();
57 }
58
Popular Tags