Last active
August 29, 2015 14:06
-
-
Save junkdog/328a022fbf619c02f80b 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
/** | |
* Compiles to: | |
* | |
* public class BoolTest { | |
* public com.atex.onecms.ws.filedelivery.BoolTest(); | |
* Code: | |
* 0: aload_0 | |
* 1: invokespecial #1 // Method java/lang/Object."<init>":()V | |
* 4: return | |
* | |
* public void hello(); | |
* Code: | |
* 0: iconst_0 | |
* 1: istore_1 | |
* 2: iconst_1 | |
* 3: istore_2 | |
* 4: iconst_1 | |
* 5: istore_3 | |
* 6: return | |
* } | |
* | |
*/ | |
public class BoolTest { | |
public void hello() { | |
boolean whenFalse = false; | |
boolean whenTrue = true; | |
int shouldBeBool = 1 | 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment