Created
September 20, 2025 13:03
-
-
Save luishfonseca/071ba8b3e90f78d2bbc8091dc1c1787c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ❭ go run . inspect ../jpamb/target/classes/jpamb/cases/Simple.class | |
| === 0. Class === | |
| access flags: <Flags: 0x0001 0x0020> | |
| attributes: [<Utf8: SourceFile>] | |
| constant pool count: 79 | |
| fields count: 1 | |
| interfaces count: 0 | |
| methods count: 19 | |
| super class: <Class: <Utf8: java/lang/Object>> | |
| this class: <Class: <Utf8: jpamb/cases/Simple>> | |
| version: 63.0 | |
| === 1. Constant Pool === | |
| 1: <Class: <Utf8: jpamb/cases/Simple>> | |
| 2: <Utf8: jpamb/cases/Simple> | |
| 3: <Class: <Utf8: java/lang/Object>> | |
| 4: <Utf8: java/lang/Object> | |
| 5: <Utf8: $assertionsDisabled> | |
| 6: <Utf8: Z> | |
| 7: <Utf8: <clinit>> | |
| 8: <Utf8: ()V> | |
| 9: <Utf8: Code> | |
| 10: <Methodref: <Class: <Utf8: java/lang/Class>>, <NameAndType: <Utf8: desiredAssertionStatus>, <Utf8: ()Z>>> | |
| 11: <Class: <Utf8: java/lang/Class>> | |
| 12: <Utf8: java/lang/Class> | |
| 13: <NameAndType: <Utf8: desiredAssertionStatus>, <Utf8: ()Z>> | |
| 14: <Utf8: desiredAssertionStatus> | |
| 15: <Utf8: ()Z> | |
| 16: <Fieldref: <Class: <Utf8: jpamb/cases/Simple>>, <NameAndType: <Utf8: $assertionsDisabled>, <Utf8: Z>>> | |
| 17: <NameAndType: <Utf8: $assertionsDisabled>, <Utf8: Z>> | |
| 18: <Utf8: LineNumberTable> | |
| 19: <Utf8: LocalVariableTable> | |
| 20: <Utf8: StackMapTable> | |
| 21: <Utf8: <init>> | |
| 22: <Methodref: <Class: <Utf8: java/lang/Object>>, <NameAndType: <Utf8: <init>>, <Utf8: ()V>>> | |
| 23: <NameAndType: <Utf8: <init>>, <Utf8: ()V>> | |
| 24: <Utf8: this> | |
| 25: <Utf8: Ljpamb/cases/Simple;> | |
| 26: <Utf8: assertFalse> | |
| 27: <Utf8: RuntimeVisibleAnnotations> | |
| 28: <Utf8: Ljpamb/utils/Case;> | |
| 29: <Utf8: value> | |
| 30: <Utf8: () -> assertion error> | |
| 31: <Class: <Utf8: java/lang/AssertionError>> | |
| 32: <Utf8: java/lang/AssertionError> | |
| 33: <Methodref: <Class: <Utf8: java/lang/AssertionError>>, <NameAndType: <Utf8: <init>>, <Utf8: ()V>>> | |
| 34: <Utf8: assertBoolean> | |
| 35: <Utf8: (Z)V> | |
| 36: <Utf8: Ljpamb/utils/Cases;> | |
| 37: <Utf8: (false) -> assertion error> | |
| 38: <Utf8: (true) -> ok> | |
| 39: <Utf8: shouldFail> | |
| 40: <Utf8: assertInteger> | |
| 41: <Utf8: (I)V> | |
| 42: <Utf8: (0) -> assertion error> | |
| 43: <Utf8: (1) -> ok> | |
| 44: <Utf8: n> | |
| 45: <Utf8: I> | |
| 46: <Utf8: assertPositive> | |
| 47: <Utf8: (-1) -> assertion error> | |
| 48: <Utf8: num> | |
| 49: <Utf8: divideByZero> | |
| 50: <Utf8: ()I> | |
| 51: <Utf8: () -> divide by zero> | |
| 52: <Utf8: divideByN> | |
| 53: <Utf8: (I)I> | |
| 54: <Utf8: (0) -> divide by zero> | |
| 55: <Utf8: divideZeroByZero> | |
| 56: <Utf8: (II)I> | |
| 57: <Utf8: (0, 0) -> divide by zero> | |
| 58: <Utf8: (0, 1) -> ok> | |
| 59: <Utf8: a> | |
| 60: <Utf8: b> | |
| 61: <Utf8: multiError> | |
| 62: <Utf8: (Z)I> | |
| 63: <Utf8: (true) -> divide by zero> | |
| 64: <Utf8: earlyReturn> | |
| 65: <Utf8: () -> ok> | |
| 66: <Utf8: checkBeforeDivideByN> | |
| 67: <Utf8: checkBeforeDivideByN2> | |
| 68: <Utf8: (0) -> ok> | |
| 69: <Utf8: checkBeforeAssert> | |
| 70: <Utf8: justReturn> | |
| 71: <Utf8: justAdd> | |
| 72: <Utf8: (1, 2) -> ok> | |
| 73: <Utf8: justMulitply> | |
| 74: <Utf8: justReturnNothing> | |
| 75: <Utf8: divideByNMinus10054203> | |
| 76: <Utf8: (10054203) -> divide by zero> | |
| 77: <Int: 10054203> | |
| 78: <Utf8: SourceFile> | |
| 79: <Utf8: Simple.java> | |
| === 2. Fields === | |
| 1: <Field: <Utf8: $assertionsDisabled> <Utf8: Z> <Flags: 0x0008 0x0010 0x1000>> -> [] | |
| === 3. Methods === | |
| 1: <Method: <Utf8: <clinit>> <Utf8: ()V> <Flags: 0x0008>> -> [<Utf8: Code>] | |
| 2: <Method: <Utf8: <init>> <Utf8: ()V> <Flags: 0x0001>> -> [<Utf8: Code>] | |
| 3: <Method: <Utf8: assertFalse> <Utf8: ()V> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] | |
| 4: <Method: <Utf8: assertBoolean> <Utf8: (Z)V> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] | |
| 5: <Method: <Utf8: assertInteger> <Utf8: (I)V> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] | |
| 6: <Method: <Utf8: assertPositive> <Utf8: (I)V> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] | |
| 7: <Method: <Utf8: divideByZero> <Utf8: ()I> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] | |
| 8: <Method: <Utf8: divideByN> <Utf8: (I)I> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] | |
| 9: <Method: <Utf8: divideZeroByZero> <Utf8: (II)I> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] | |
| 10: <Method: <Utf8: multiError> <Utf8: (Z)I> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] | |
| 11: <Method: <Utf8: earlyReturn> <Utf8: ()I> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] | |
| 12: <Method: <Utf8: checkBeforeDivideByN> <Utf8: (I)I> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] | |
| 13: <Method: <Utf8: checkBeforeDivideByN2> <Utf8: (I)I> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] | |
| 14: <Method: <Utf8: checkBeforeAssert> <Utf8: (I)V> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] | |
| 15: <Method: <Utf8: justReturn> <Utf8: ()I> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] | |
| 16: <Method: <Utf8: justAdd> <Utf8: (II)I> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] | |
| 17: <Method: <Utf8: justMulitply> <Utf8: (II)I> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] | |
| 18: <Method: <Utf8: justReturnNothing> <Utf8: ()V> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] | |
| 19: <Method: <Utf8: divideByNMinus10054203> <Utf8: (I)I> <Flags: 0x0001 0x0008>> -> [<Utf8: RuntimeVisibleAnnotations> <Utf8: Code>] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment