[View] [Edit] [Lock] [References] [Attachments] [History] [Home] [Changes] [Search] [Help]
test[al8] 002 - Importing classes
"Importing multiple classes from Java environment."
#( "#('net.smalltalking.al8' #(
MainActivity))"
#('java.lang' #(
Thread System String Object
Math "Character" Compiler
))
#('java.util' #(
ArrayList Date Random Timer
))
#('org.keplerproject.luajava' #(
JavaFunction LuaException
LuaState LuaStateFactory))
#('dalvik.system' #(
VMDebug))
) do: [:tuple|
tuple isString ifTrue: [
self print: '// import ',tuple.
Java import: tuple
] ifFalse: [
tuple last do: [:each| | path |
path := tuple first ,$. ,each.
self print: '// import ',path.
Java import: path
]
]
]