KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > aspectwerkz > joinpoint > MethodRtti


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

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

13 public interface MethodRtti extends CodeRtti {
14   /**
15    * Returns the method.
16    *
17    * @return the method
18    */

19   Method JavaDoc getMethod();
20
21   /**
22    * Returns the return type.
23    *
24    * @return the return type
25    */

26   Class JavaDoc getReturnType();
27
28   /**
29    * Returns the value of the return type.
30    *
31    * @return the value of the return type
32    */

33   Object JavaDoc getReturnValue();
34 }
Popular Tags