01: /**************************************************************************************
02: * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved. *
03: * http://aspectwerkz.codehaus.org *
04: * ---------------------------------------------------------------------------------- *
05: * The software in this package is published under the terms of the LGPL license *
06: * a copy of which has been included with this distribution in the license.txt file. *
07: **************************************************************************************/package org.codehaus.aspectwerkz.joinpoint;
08:
09: /**
10: * Interface for the code RTTI (Runtime Type Information).
11: *
12: * @author <a href="mailto:jboner@codehaus.org">Jonas BonŽr </a>
13: */
14: public interface CodeRtti extends MemberRtti {
15: /**
16: * Returns the exception types declared by the code block.
17: *
18: * @return the exception types
19: */
20: Class[] getExceptionTypes();
21:
22: /**
23: * Returns the parameter types.
24: *
25: * @return the parameter types
26: */
27: Class[] getParameterTypes();
28:
29: /**
30: * Returns the values of the parameters.
31: *
32: * @return the values of the parameters
33: */
34: Object[] getParameterValues();
35:
36: /**
37: * @param parameterValues
38: * @TODO remove in 2.0
39: * <p/>
40: * Sets the values of the parameters.
41: */
42: void setParameterValues(Object[] parameterValues);
43: }
|