01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.aspectwerkz.joinpoint;
05:
06: /**
07: * Interface for the code RTTI (Runtime Type Information).
08: *
09: * @author <a href="mailto:jboner@codehaus.org">Jonas BonŽr </a>
10: */
11: public interface CodeRtti extends MemberRtti {
12: /**
13: * Returns the exception types declared by the code block.
14: *
15: * @return the exception types
16: */
17: Class[] getExceptionTypes();
18:
19: /**
20: * Returns the parameter types.
21: *
22: * @return the parameter types
23: */
24: Class[] getParameterTypes();
25:
26: /**
27: * Returns the values of the parameters.
28: *
29: * @return the values of the parameters
30: */
31: Object[] getParameterValues();
32:
33: /**
34: * @param parameterValues
35: * @TODO remove in 2.0
36: * <p/>
37: * Sets the values of the parameters.
38: */
39: void setParameterValues(Object[] parameterValues);
40: }
|