feat: implement calling static boolean methods

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
This commit is contained in:
2021-04-18 14:30:04 -04:00
parent b74a17279b
commit 878283d25c
6 changed files with 55 additions and 0 deletions
BIN
View File
Binary file not shown.
+9
View File
@@ -2,6 +2,7 @@ package test;
public class AClass {
public static int staticintval = 100;
public static boolean staticboolval = true;
public int intval = 0;
@@ -9,10 +10,18 @@ public class AClass {
return staticintval;
}
public static boolean GetStaticBoolean() {
return staticboolval;
}
public static void SetStaticInt(int val) {
staticintval = val;
}
public static void SetStaticBoolean(boolean val) {
staticboolval = val;
}
public void IncInt() {
intval = intval + 1;
}