feat: implement calling static boolean methods
Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
This commit is contained in:
Binary file not shown.
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user