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