示例#1
0
 public KonohaSpace() {
   // konoha<->java class map
   cl.put("int", KClass.intClass);
   cl.put("Int", KClass.intClass);
   cl.put("boolean", KClass.booleanClass);
   cl.put("Boolean", KClass.booleanClass);
   cl.put("void", KClass.voidClass);
   cl.put("String", KClass.stringClass);
   cl.put("System", KClass.systemClass);
 }
示例#2
0
 public void addClass(String name, KClass klass) {
   cl.put(name, klass);
 }
示例#3
0
 public KClass getClass(CTX ctx, String key) {
   return cl.get(key);
 }