/* * Decompiled with CFR 0.152. */ package javax.baja.spy; import javax.baja.naming.SlotPath; import javax.baja.nav.BINavNode; import javax.baja.spy.ISpyDir; import javax.baja.spy.Spy; import javax.baja.spy.SpyWriter; import javax.baja.sys.BObject; public class ObjectSpy extends Spy implements ISpyDir { private BObject object; public String[] list() { return new String[0]; } public Spy find(String string) { BObject bObject = null; if (this.object instanceof BINavNode) { bObject = (BObject)((Object)((BINavNode)((Object)this.object)).getNavChild(SlotPath.unescape(string))); } if (bObject == null) { return null; } return new ObjectSpy(bObject); } public BObject getObject() { return this.object; } public void write(SpyWriter spyWriter) throws Exception { this.object.spy(spyWriter); } public ObjectSpy(BObject bObject) { this.object = bObject; } }