tmpObjProto = new ScriptableObject() { public String getClassName() { return frameworkProto.getName(); } }; tmpObjProto.setPrototype(objProto); if (!"global".equals(frameworkProto.getLowerCaseName()))
if ("global".equals(frameworkProto.getLowerCaseName())) { tmpObjProto = new GlobalObject(RhinoCore.this, app); tmpObjProto.setPrototype(global); tmpObjProto.setParentScope(null); } else { tmpObjProto = new HopObject(frameworkProto.getName()); tmpObjProto.setPrototype(objProto);
        public void prepareCompilation() {            tmpObjProto = new ScriptableObject() {                public String getClassName() {                    return frameworkProto.getName();                }            };            tmpObjProto.setPrototype(objProto);            if (!"global".equals(frameworkProto.getLowerCaseName()))                tmpObjProto.setParentScope(global);        }