GuideFunctionObject.java 786 Bytes
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  org.mozilla.javascript.Context
 *  org.mozilla.javascript.FunctionObject
 *  org.mozilla.javascript.Scriptable
 */
package com.adobe.aemds.guide.utils.rhino;

import java.lang.reflect.Member;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.FunctionObject;
import org.mozilla.javascript.Scriptable;

public class GuideFunctionObject
extends FunctionObject {
    public GuideFunctionObject(String name, Member methodOrConstructor, Scriptable parentScope) {
        super(name, methodOrConstructor, parentScope);
    }

    public Object call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) {
        return super.call(cx, scope, this.getParentScope(), args);
    }
}