; ; 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 ZeroOne.java .class ZeroOne .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 zeroOne(I)Z .throws java/lang/Exception .limit stack 3 .limit locals 2 ;---- .line 5 iload_1 ifne Label1 iconst_0 ireturn .line 6 Label1: iload_1 iconst_1 if_icmpne Label2 iconst_1 ireturn .line 7 Label2: new java/lang/Exception dup ldc "Neither 0 nor 1" 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 ZeroOne dup invokespecial ZeroOne/()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 ZeroOne/zeroOne(I)Z invokevirtual java/io/PrintStream/println(Z)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