Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
imports.add("import android::{import_}\n")
end
imports.add("import android::{import_}\n")
end
- file_out.write(gen_licence)
var module_name = module_name
if module_name != null then file_out.write "module {module_name}\n"
var module_name = module_name
if module_name != null then file_out.write "module {module_name}\n"
file_out.write(wrappers.join)
end
file_out.write(wrappers.join)
end
- fun gen_licence: String
- do
- return """
+ # License for the header of the generated Nit module
+ var license = """
# This file is part of NIT (http://www.nitlanguage.org).
#
# Licensed under the Apache License, Version 2.0 (the "License");
# This file is part of NIT (http://www.nitlanguage.org).
#
# Licensed under the Apache License, Version 2.0 (the "License");
# limitations under the License.
# This code has been generated using `jwrapper`
# limitations under the License.
# This code has been generated using `jwrapper`
fun gen_class_header(jtype: JavaType): String
do
fun gen_class_header(jtype: JavaType): String
do