;; 454(d) bytes data (Revision: 4.9) CA FE BA BE ; magic number 00 03 ; minor version 00 2D ; major version 00 1F ; constant pool number= 30(d) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 0A 00 06 00 11 ;(00 01) Methodref => java/lang/Object.:()V 0A 00 05 00 12 ;(00 02) Methodref => Foo.add:(II)I 09 00 13 00 14 ;(00 03) Fieldref => java/lang/System.out:Ljava/io/PrintStream; 0A 00 15 00 16 ;(00 04) Methodref => java/io/PrintStream.println:(I)V 07 00 17 ;(00 05) Class => Foo 07 00 18 ;(00 06) Class => java/lang/Object 01 00 06 3C 69 6E 69 74 3E ;(00 07) Utf8 = "" 01 00 03 28 29 56 ;(00 08) Utf8 = "()V" 01 00 04 43 6F 64 65 ;(00 09) Utf8 = "Code" 01 00 0F 4C 69 6E 65 4E 75 6D 62 65 72 54 61 62 6C 65 ;(00 0A) Utf8 = "LineNumberTable" 01 00 03 61 64 64 ;(00 0B) Utf8 = "add" 01 00 05 28 49 49 29 49 ;(00 0C) Utf8 = "(II)I" 01 00 04 6D 61 69 6E ;(00 0D) Utf8 = "main" 01 00 16 28 5B 4C 6A 61 76 61 2F 6C 61 6E 67 2F 53 74 72 69 6E 67 3B 29 56 ;(00 0E) Utf8 = "([Ljava/lang/String;)V" 01 00 0A 53 6F 75 72 63 65 46 69 6C 65 ;(00 0F) Utf8 = "SourceFile" 01 00 08 46 6F 6F 2E 6A 61 76 61 ;(00 10) Utf8 = "Foo.java" ; 0C 00 07 00 08 ;(00 11) NameAndType => :()V 0C 00 0B 00 0C ;(00 12) NameAndType => add:(II)I 07 00 19 ;(00 13) Class => java/lang/System 0C 00 1A 00 1B ;(00 14) NameAndType => out:Ljava/io/PrintStream; 07 00 1C ;(00 15) Class => java/io/PrintStream 0C 00 1D 00 1E ;(00 16) NameAndType => println:(I)V 01 00 03 46 6F 6F ;(00 17) Utf8 = "Foo" 01 00 10 6A 61 76 61 2F 6C 61 6E 67 2F 4F 62 6A 65 63 74 ;(00 18) Utf8 = "java/lang/Object" 01 00 10 6A 61 76 61 2F 6C 61 6E 67 2F 53 79 73 74 65 6D ;(00 19) Utf8 = "java/lang/System" 01 00 03 6F 75 74 ;(00 1A) Utf8 = "out" 01 00 15 4C 6A 61 76 61 2F 69 6F 2F 50 72 69 6E 74 53 74 72 65 61 6D 3B ;(00 1B) Utf8 = "Ljava/io/PrintStream;" 01 00 13 6A 61 76 61 2F 69 6F 2F 50 72 69 6E 74 53 74 72 65 61 6D ;(00 1C) Utf8 = "java/io/PrintStream" 01 00 07 70 72 69 6E 74 6C 6E ;(00 1D) Utf8 = "println" 01 00 04 28 49 29 56 ;(00 1E) Utf8 = "(I)V" ;; class info. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 00 21 ; access flag= PUBLIC + SUPER 00 05 ; this class= "Foo" 00 06 ; super class= "java/lang/Object" 00 00 ; num. of implemented interface(s)= 0(d) ;;;;;;;;;;;;;;;;;;;;;; 00 00 ; num. of field(s)= 0(d) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 00 03 ; num. of methods(s)= 3(d) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;BEGIN method1(d) def. 00 01 ; access flag of method = PUBLIC 00 07 ; method name ="" 00 08 ; method type ="()V" ; 00 01 ; num. of attribute(s), 1(d) ;;begin attribute 1(d) 00 09 ; attribute type= "Code" 00 00 00 1D ; attribute length= 29(d) ;; 00 01 ; stacks limits 00 01 ; locals limits 00 00 00 05 ; length of codes = 5(d) ;; 2A B7 00 01 B1 ; codes ;; 00 00 ; num. of exception handler(s) = 0(d) ;; 00 01 ; num. of attr. of this code attr. = 1(d) 00 0A ; code-attr.'s attr.1(d) name="LineNumberTable" 00 00 00 06 ; length of attr.=6(d) 00 01 ; 1(d) line number(s) 00 00 00 01 ; .line 1 ;;end attribute 1(d) ; ;END method1(d) def. ;BEGIN method2(d) def. 00 08 ; access flag of method = STATIC 00 0B ; method name ="add" 00 0C ; method type ="(II)I" ; 00 01 ; num. of attribute(s), 1(d) ;;begin attribute 1(d) 00 09 ; attribute type= "Code" 00 00 00 1C ; attribute length= 28(d) ;; 00 02 ; stacks limits 00 02 ; locals limits 00 00 00 04 ; length of codes = 4(d) ;; 1A 1B 60 AC ; codes ;; 00 00 ; num. of exception handler(s) = 0(d) ;; 00 01 ; num. of attr. of this code attr. = 1(d) 00 0A ; code-attr.'s attr.1(d) name="LineNumberTable" 00 00 00 06 ; length of attr.=6(d) 00 01 ; 1(d) line number(s) 00 00 00 02 ; .line 2 ;;end attribute 1(d) ; ;END method2(d) def. ;BEGIN method3(d) def. 00 09 ; access flag of method = PUBLIC + STATIC 00 0D ; method name ="main" 00 0E ; method type ="([Ljava/lang/String;)V" ; 00 01 ; num. of attribute(s), 1(d) ;;begin attribute 1(d) 00 09 ; attribute type= "Code" 00 00 00 30 ; attribute length= 48(d) ;; 00 02 ; stacks limits 00 02 ; locals limits 00 00 00 10 ; length of codes = 16(d) ;; 10 15 10 16 B8 00 02 3C B2 00 03 1B B6 00 04 B1 ; codes ;; 00 00 ; num. of exception handler(s) = 0(d) ;; 00 01 ; num. of attr. of this code attr. = 1(d) 00 0A ; code-attr.'s attr.1(d) name="LineNumberTable" 00 00 00 0E ; length of attr.=14(d) 00 03 ; 3(d) line number(s) 00 00 00 04 ; .line 4 00 08 00 05 ; .line 5 00 0F 00 06 ; .line 6 ;;end attribute 1(d) ; ;END method3(d) def. 00 01 ; num. of class attribute(s)= 1(d) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;BEGIN class attribute1(d) 00 0F ; class's attr.1(d) name="SourceFile" 00 00 00 02 ; length of attr.=2(d) 00 10 ; filename="Foo.java" ;END class attribute1(d) ;; successfully parsed.