private ImporterTopLevel realThis(Scriptable thisObj, IdFunctionObject f) { if (topScopeFlag) { // when used as top scope importPackage and importClass are global // function that ignore thisObj return this; } if (!(thisObj instanceof ImporterTopLevel)) throw incompatibleCallError(f); return (ImporterTopLevel)thisObj; }
private ImporterTopLevel realThis(Scriptable thisObj, IdFunctionObject f) { if (topScopeFlag) { // when used as top scope importPackage and importClass are global // function that ignore thisObj return this; } if (!(thisObj instanceof ImporterTopLevel)) throw incompatibleCallError(f); return (ImporterTopLevel)thisObj; }
private ImporterTopLevel realThis(Scriptable thisObj, IdFunctionObject f) { if (topScopeFlag) { // when used as top scope importPackage and importClass are global // function that ignore thisObj return this; } if (!(thisObj instanceof ImporterTopLevel)) throw incompatibleCallError(f); return (ImporterTopLevel)thisObj; }
private ImporterTopLevel realThis(Scriptable thisObj, IdFunctionObject f) { if (topScopeFlag) { // when used as top scope importPackage and importClass are global // function that ignore thisObj return this; } if (!(thisObj instanceof ImporterTopLevel)) throw incompatibleCallError(f); return (ImporterTopLevel)thisObj; }
private ImporterTopLevel realThis(Scriptable thisObj, IdFunctionObject f) { if (topScopeFlag) { // when used as top scope importPackage and importClass are global // function that ignore thisObj return this; } if (!(thisObj instanceof ImporterTopLevel)) throw incompatibleCallError(f); return (ImporterTopLevel)thisObj; }
private ImporterTopLevel realThis(Scriptable thisObj, IdFunctionObject f) { if (topScopeFlag) { // when used as top scope importPackage and importClass are global // function that ignore thisObj return this; } if (!(thisObj instanceof ImporterTopLevel)) throw incompatibleCallError(f); return (ImporterTopLevel)thisObj; }