KickJava   Java API By Example, From Geeks To Geeks.

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


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 /**
11  * Interface for the code RTTI (Runtime Type Information).
12  *
13  * @author <a HREF="mailto:jboner@codehaus.org">Jonas Bonér </a>
14  */

15 public interface CodeRtti extends MemberRtti {
16     /**
17      * Returns the exception types declared by the code block.
18      *
19      * @return the exception types
20      */

21     Class JavaDoc[] getExceptionTypes();
22
23     /**
24      * Returns the parameter types.
25      *
26      * @return the parameter types
27      */

28     Class JavaDoc[] getParameterTypes();
29
30     /**
31      * Returns the values of the parameters.
32      *
33      * @return the values of the parameters
34      */

35     Object JavaDoc[] getParameterValues();
36
37     /**
38      * @param parameterValues
39      * @TODO remove in 2.0
40      * <p/>
41      * Sets the values of the parameters.
42      */

43     void setParameterValues(Object JavaDoc[] parameterValues);
44 }
Popular Tags