2018-07-18 13:34:49 +00:00
|
|
|
import java.lang.String;
|
2018-04-11 11:55:32 +00:00
|
|
|
import java.lang.Integer;
|
2018-06-01 14:57:35 +00:00
|
|
|
import java.lang.Double;
|
2019-06-13 12:01:32 +00:00
|
|
|
import java.lang.Boolean;
|
|
|
|
import java.util.Vector;
|
2018-04-11 11:55:32 +00:00
|
|
|
|
2018-05-29 22:27:20 +00:00
|
|
|
|
2018-08-08 12:33:31 +00:00
|
|
|
public class OL {
|
2018-05-29 22:27:20 +00:00
|
|
|
|
2019-04-27 13:44:21 +00:00
|
|
|
m(x) { return x + x; }
|
2019-06-13 12:01:32 +00:00
|
|
|
|
2019-06-05 08:21:25 +00:00
|
|
|
m(Boolean x) { return x; }
|
|
|
|
|
2019-06-13 12:01:32 +00:00
|
|
|
// if the class contains just this method, then correct BC will be generated.
|
|
|
|
// But if another methods are contained then the generated BC is not correct
|
|
|
|
/* m(x) {
|
|
|
|
//x.add(1);
|
2019-06-05 08:21:25 +00:00
|
|
|
x.addAll(x);
|
|
|
|
return x;
|
|
|
|
}
|
2019-06-13 12:01:32 +00:00
|
|
|
*/
|
2018-06-01 14:57:35 +00:00
|
|
|
}
|
2018-12-04 14:01:50 +00:00
|
|
|
|
2018-08-08 12:33:31 +00:00
|
|
|
public class OLMain {
|
2018-05-28 14:07:29 +00:00
|
|
|
|
2019-04-27 13:44:21 +00:00
|
|
|
main(x) {
|
2018-05-28 14:07:29 +00:00
|
|
|
var ol;
|
|
|
|
ol = new OL();
|
|
|
|
return ol.m(x);
|
|
|
|
}
|
|
|
|
}
|