import java.lang.String; import java.lang.Integer; import java.lang.Double; import java.lang.Boolean; //import java.util.Vector; public class OL { m(x) { return x + x; } m(Boolean x) { return x; } // 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; // } } public class OLMain { main(x) { var ol; ol = new OL(); return ol.m(x); } }