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 test.mixin.perinstance;
08:
09: /**
10: * @author <a href="mailto:jboner@codehaus.org">Jonas BonŽr </a>
11: * @author <a href="mailto:alex@gnilux.com">Alexandre Vasseur </a>
12: */
13: public interface Introductions {
14: void noArgs();
15:
16: long longArg(long arg);
17:
18: int intArg(int arg);
19:
20: short shortArg(short arg);
21:
22: double doubleArg(double arg);
23:
24: float floatArg(float arg);
25:
26: byte byteArg(byte arg);
27:
28: boolean booleanArg(boolean arg);
29:
30: char charArg(char arg);
31:
32: Object objectArg(Object arg);
33:
34: String[] arrayArg(String[] arg);
35:
36: void getVoid() throws RuntimeException;
37:
38: long getLong() throws RuntimeException;
39:
40: int getInt() throws RuntimeException;
41:
42: short getShort() throws RuntimeException;
43:
44: double getDouble() throws RuntimeException;
45:
46: float getFloat() throws RuntimeException;
47:
48: byte getByte() throws RuntimeException;
49:
50: char getChar() throws RuntimeException;
51:
52: boolean getBoolean() throws RuntimeException;
53:
54: int variousArguments1(String str, int i, float f, Object o, long l)
55: throws RuntimeException;
56:
57: int variousArguments2(float f, int i, String str1, Object o,
58: long l, String str2) throws RuntimeException;
59:
60: public void exceptionThrower() throws Throwable;
61:
62: public void exceptionThrowerChecked() throws CheckedException;
63:
64: public static class CheckedException extends Exception {
65: public CheckedException() {
66: super();
67: }
68: }
69: }
|