Fork of the Fernflower decompiler
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package unit.classes;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
public class TestClassTypes {
|
|
|
|
|
|
|
|
public void testBoolean() {
|
|
|
|
byte var1 = 0;
|
|
|
|
long var2 = System.currentTimeMillis();
|
|
|
|
if(var2 % 2L > 0L) {
|
|
|
|
var1 = 1;
|
|
|
|
} else if(var2 % 3L > 0L) {
|
|
|
|
var1 = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
if(var1 == 1) {
|
|
|
|
System.out.println();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public void testAssignmentType(List var1) {
|
|
|
|
Object var2 = var1;
|
|
|
|
if(var1 != null) {
|
|
|
|
((List)(var2 = new ArrayList(var1))).add("23");
|
|
|
|
}
|
|
|
|
|
|
|
|
System.out.println(((List)var2).size());
|
|
|
|
}
|
|
|
|
}
|