KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > mixin > perinstance > Introductions


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 test.mixin.perinstance;
9
10 /**
11  * @author <a HREF="mailto:jboner@codehaus.org">Jonas BonŽr </a>
12  * @author <a HREF="mailto:alex@gnilux.com">Alexandre Vasseur </a>
13  */

14 public interface Introductions {
15     void noArgs();
16
17     long longArg(long arg);
18
19     int intArg(int arg);
20
21     short shortArg(short arg);
22
23     double doubleArg(double arg);
24
25     float floatArg(float arg);
26
27     byte byteArg(byte arg);
28
29     boolean booleanArg(boolean arg);
30
31     char charArg(char arg);
32
33     Object JavaDoc objectArg(Object JavaDoc arg);
34
35     String JavaDoc[] arrayArg(String JavaDoc[] arg);
36
37     void getVoid() throws RuntimeException JavaDoc;
38
39     long getLong() throws RuntimeException JavaDoc;
40
41     int getInt() throws RuntimeException JavaDoc;
42
43     short getShort() throws RuntimeException JavaDoc;
44
45     double getDouble() throws RuntimeException JavaDoc;
46
47     float getFloat() throws RuntimeException JavaDoc;
48
49     byte getByte() throws RuntimeException JavaDoc;
50
51     char getChar() throws RuntimeException JavaDoc;
52
53     boolean getBoolean() throws RuntimeException JavaDoc;
54
55     int variousArguments1(String JavaDoc str, int i, float f, Object JavaDoc o, long l) throws RuntimeException JavaDoc;
56
57     int variousArguments2(float f, int i, String JavaDoc str1, Object JavaDoc o, long l, String JavaDoc str2) throws RuntimeException JavaDoc;
58
59     public void exceptionThrower() throws Throwable JavaDoc;
60
61     public void exceptionThrowerChecked() throws CheckedException;
62
63     public static class CheckedException extends Exception JavaDoc {
64         public CheckedException() {
65             super();
66         }
67     }
68 }
Popular Tags