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 objectArg(Object arg); 34 35 String[] arrayArg(String[] arg); 36 37 void getVoid() throws RuntimeException; 38 39 long getLong() throws RuntimeException; 40 41 int getInt() throws RuntimeException; 42 43 short getShort() throws RuntimeException; 44 45 double getDouble() throws RuntimeException; 46 47 float getFloat() throws RuntimeException; 48 49 byte getByte() throws RuntimeException; 50 51 char getChar() throws RuntimeException; 52 53 boolean getBoolean() throws RuntimeException; 54 55 int variousArguments1(String str, int i, float f, Object o, long l) throws RuntimeException; 56 57 int variousArguments2(float f, int i, String str1, Object o, long l, String str2) throws RuntimeException; 58 59 public void exceptionThrower() throws Throwable; 60 61 public void exceptionThrowerChecked() throws CheckedException; 62 63 public static class CheckedException extends Exception { 64 public CheckedException() { 65 super(); 66 } 67 } 68 }