KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > codehaus > aspectwerkz > joinpoint > MethodRtti


1 /**************************************************************************************
2  * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved. *
3  * http://aspectwerkz.codehaus.org *
4  * ---------------------------------------------------------------------------------- *
5  * The software in this package is published under the terms of the LGPL license *
6  * a copy of which has been included with this distribution in the license.txt file. *
7  **************************************************************************************/

8 package org.codehaus.aspectwerkz.joinpoint;
9
10 import java.lang.reflect.Method JavaDoc;
11
12 /**
13  * Interface for the method RTTI (Runtime Type Information).
14  *
15  * @author <a HREF="mailto:jboner@codehaus.org">Jonas BonŽr </a>
16  */

17 public interface MethodRtti extends CodeRtti {
18     /**
19      * Returns the method.
20      *
21      * @return the method
22      */

23     Method JavaDoc getMethod();
24
25     /**
26      * Returns the return type.
27      *
28      * @return the return type
29      */

30     Class JavaDoc getReturnType();
31
32     /**
33      * Returns the value of the return type.
34      *
35      * @return the value of the return type
36      */

37     Object JavaDoc getReturnValue();
38 }
Popular Tags