Class RecursiveFunctionObject

  • All Implemented Interfaces:
    java.io.Serializable, org.htmlunit.corejs.javascript.Callable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.Constructable, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Function, org.htmlunit.corejs.javascript.IdFunctionCall, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

    public class RecursiveFunctionObject
    extends org.htmlunit.corejs.javascript.FunctionObject
    A FunctionObject that returns IDs of this object and all its parent classes.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.htmlunit.corejs.javascript.ScriptableObject

        org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private BrowserVersion browserVersion_  
      • Fields inherited from class org.htmlunit.corejs.javascript.FunctionObject

        JAVA_BOOLEAN_TYPE, JAVA_DOUBLE_TYPE, JAVA_INT_TYPE, JAVA_OBJECT_TYPE, JAVA_SCRIPTABLE_TYPE, JAVA_STRING_TYPE, JAVA_UNSUPPORTED_TYPE
      • Fields inherited from class org.htmlunit.corejs.javascript.BaseFunction

        Id_arguments, Id_arity, Id_length, Id_name, Id_prototype, MAX_INSTANCE_ID
      • Fields inherited from class org.htmlunit.corejs.javascript.ScriptableObject

        CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
      • Fields inherited from interface org.htmlunit.corejs.javascript.Scriptable

        NOT_FOUND
    • Constructor Summary

      Constructors 
      Constructor Description
      RecursiveFunctionObject​(java.lang.String name, java.lang.reflect.Member methodOrConstructor, org.htmlunit.corejs.javascript.Scriptable scope, BrowserVersion browserVersion)
      The constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object get​(java.lang.String name, org.htmlunit.corejs.javascript.Scriptable start)
      org.htmlunit.corejs.javascript.Scriptable getClassPrototype()
      Make this public.
      java.lang.Object[] getIds()
      boolean has​(java.lang.String name, org.htmlunit.corejs.javascript.Scriptable start)
      • Methods inherited from class org.htmlunit.corejs.javascript.FunctionObject

        addAsConstructor, addAsConstructor, call, convertArg, convertArg, createObject, getArity, getFunctionName, getLength, getMethodOrConstructor, getTypeTag
      • Methods inherited from class org.htmlunit.corejs.javascript.BaseFunction

        construct, execIdCall, fillConstructorProperties, findInstanceIdInfo, findPrototypeId, getClassName, getInstanceIdName, getInstanceIdValue, getMaxInstanceId, getPrototypeProperty, getTypeOf, hasInstance, hasPrototypeProperty, initPrototypeId, isGeneratorFunction, setImmunePrototypeProperty, setInstanceIdAttributes, setInstanceIdValue, setPrototypeProperty, setPrototypePropertyAttributes, setStandardPropertyAttributes, setupDefaultPrototype
      • Methods inherited from class org.htmlunit.corejs.javascript.IdScriptableObject

        activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultHas, defaultPut, defineOwnProperty, delete, delete, ensureType, exportAsJSClass, findInstanceIdInfo, findPrototypeId, get, getAttributes, getAttributes, getOwnPropertyDescriptor, has, hasPrototypeMap, initPrototypeConstructor, initPrototypeMethod, initPrototypeMethod, initPrototypeMethod, initPrototypeValue, initPrototypeValue, instanceIdInfo, put, put, setAttributes
      • Methods inherited from class org.htmlunit.corejs.javascript.ScriptableObject

        applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getObjectPrototype, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, putProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.htmlunit.corejs.javascript.Scriptable

        delete, delete, get, getDefaultValue, getParentScope, getPrototype, has, put, put, setParentScope, setPrototype
    • Constructor Detail

      • RecursiveFunctionObject

        public RecursiveFunctionObject​(java.lang.String name,
                                       java.lang.reflect.Member methodOrConstructor,
                                       org.htmlunit.corejs.javascript.Scriptable scope,
                                       BrowserVersion browserVersion)
        The constructor.
        Parameters:
        name - the name of the function
        methodOrConstructor - a Member that defines the object
        scope - the enclosing scope of function
        browserVersion - the browserVersion
    • Method Detail

      • has

        public boolean has​(java.lang.String name,
                           org.htmlunit.corejs.javascript.Scriptable start)
        Specified by:
        has in interface org.htmlunit.corejs.javascript.Scriptable
        Overrides:
        has in class org.htmlunit.corejs.javascript.IdScriptableObject
      • getIds

        public java.lang.Object[] getIds()
        Specified by:
        getIds in interface org.htmlunit.corejs.javascript.Scriptable
        Overrides:
        getIds in class org.htmlunit.corejs.javascript.ScriptableObject
      • get

        public java.lang.Object get​(java.lang.String name,
                                    org.htmlunit.corejs.javascript.Scriptable start)
        Specified by:
        get in interface org.htmlunit.corejs.javascript.Scriptable
        Overrides:
        get in class org.htmlunit.corejs.javascript.IdScriptableObject
      • getClassPrototype

        public org.htmlunit.corejs.javascript.Scriptable getClassPrototype()
        Make this public.
        Overrides:
        getClassPrototype in class org.htmlunit.corejs.javascript.BaseFunction