; ; Output created by JasminView on Jul 7, 2002 ; mailto:shawn@pobox.com ; Copyright (c) 1997-Present Shawn Silverman ; ; Jasmin can be found at: ; http://www.cat.nyu.edu/meyer/jasmin/ ; ; Classfile version: ; major: 45 ; minor: 3 .source WDay.java .class WDay .super java/lang/Object ; >> METHOD 1 << .method ()V .limit stack 1 .limit locals 1 ;---- .line 3 aload_0 invokespecial java/lang/Object/()V return .end method ; >> METHOD 2 << .method month(I)Ljava/lang/String; .throws java/lang/Exception .limit stack 4 .limit locals 3 ;---- .line 5 bipush 7 anewarray java/lang/String dup iconst_0 ldc "Sun" aastore dup iconst_1 ldc "Mon" aastore dup iconst_2 ldc "Tue" aastore dup iconst_3 ldc "Wed" aastore dup iconst_4 ldc "Thu" aastore dup iconst_5 ldc "Fri" aastore dup bipush 6 ldc "Sat" aastore astore_2 .line 6 iload_1 iflt Label1 iload_1 aload_2 arraylength if_icmpge Label1 aload_2 iload_1 aaload areturn .line 7 Label1: new java/lang/Exception dup ldc "Not Weekday" invokespecial java/lang/Exception/(Ljava/lang/String;)V athrow .end method ; >> METHOD 3 << .method public static main([Ljava/lang/String;)V .limit stack 3 .limit locals 5 ;---- .line 11 iconst_0 istore_1 goto Label9 .line 12 Label1: new WDay dup invokespecial WDay/()V astore_2 .line 15 Label2: aload_0 iload_1 aaload invokestatic java/lang/Integer/parseInt(Ljava/lang/String;)I istore_3 Label3: goto Label5 .line 17 Label4: astore 4 aload 4 invokevirtual java/lang/Throwable/printStackTrace()V .line 18 goto Label8 .line 21 Label5: getstatic java/lang/System/out Ljava/io/PrintStream; aload_2 iload_3 invokevirtual WDay/month(I)Ljava/lang/String; invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V Label6: goto Label8 .line 23 Label7: astore 4 aload 4 invokevirtual java/lang/Throwable/printStackTrace()V .line 11 Label8: iinc 1 1 Label9: iload_1 aload_0 arraylength if_icmplt Label1 .line 26 return ;---- .catch java/lang/Exception from Label2 to Label3 using Label4 .catch java/lang/Exception from Label5 to Label6 using Label7 .end method