for(Scriptable cur = Context.enter().currentFunction; cur != null; cur = cur.getParentScope())
if (cur == this) return XWT.singleton;
- System.out.println("casc up " + (resourcename + (resourcename.length() == 0 ? "" : ".") + name));
-
if (!ispackage) return super.get(name, start);
return getStatic(resourcename + (resourcename.length() == 0 ? "" : ".") + name);
}