JavaCompilerCore/resources/bytecode/javFiles/OL.jav

33 lines
714 B
Plaintext
Raw Normal View History

import java.lang.String;
2018-04-11 11:55:32 +00:00
import java.lang.Integer;
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
public class OL {
java.lang.Double m(java.lang.Double x) { return x + x; }
java.lang.Integer m(java.lang.Integer x) { return x + x; }
java.lang.String m(java.lang.String x) { return x + x; }
java.lang.Boolean 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);
// x.addAll(x);
// return x;
// }
2019-06-26 10:16:47 +00:00
}
public class OLMain {
main(x) {
var ol;
ol = new OL();
return ol.m(x);
}
}