Uses of Class
org.htmlunit.corejs.javascript.ClassDescriptor.Builder
Packages that use ClassDescriptor.Builder
-
Uses of ClassDescriptor.Builder in org.htmlunit.corejs.javascript
Methods in org.htmlunit.corejs.javascript that return ClassDescriptor.BuilderModifier and TypeMethodDescriptionClassDescriptor.Builder.withMethod(ClassDescriptor.Destination dest, String name, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> code) Adds a method on the constructor with the standard property attributes for a method on a built in constructor.ClassDescriptor.Builder.withMethod(ClassDescriptor.Destination dest, String name, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> code, int attributes, int stdAttrs) Adds a method on the constructor with the custom property attributes.ClassDescriptor.Builder.withMethod(ClassDescriptor.Destination dest, SymbolKey name, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> code) Adds a method on the constructor with the standard property attributes for a method on a built in constructor.ClassDescriptor.Builder.withMethod(ClassDescriptor.Destination dest, SymbolKey name, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> code, int attributes, int stdAttrs) Adds a method on the constructor with the custom property attributes.<T extends ScriptableObject>
ClassDescriptor.BuilderClassDescriptor.Builder.withProp(ClassDescriptor.Destination dest, String name, BuiltInSlot.Getter<T> getter, BuiltInSlot.Setter<T> setter, int attributes) ClassDescriptor.Builder.withProp(ClassDescriptor.Destination dest, String name, ClassDescriptor.ValueCreator creator) Version ofwithProp(Destination, String, LambdaGetterFunction, LambdaSetterFunction, int)that takes aClassDescriptor.ValueCreatorrather than a getter and setter.ClassDescriptor.Builder.withProp(ClassDescriptor.Destination dest, String name, ScriptableObject.LambdaGetterFunction getter, ScriptableObject.LambdaSetterFunction setter, int attributes) Adds an accessor based property to the constructor or prototype with custom property attributes.<T extends ScriptableObject>
ClassDescriptor.BuilderClassDescriptor.Builder.withProp(ClassDescriptor.Destination dest, SymbolKey name, BuiltInSlot.Getter<T> getter, BuiltInSlot.Setter<T> setter, int attributes) ClassDescriptor.Builder.withProp(ClassDescriptor.Destination dest, SymbolKey name, ClassDescriptor.ValueCreator creator) Version ofwithProp(Destination, SymbolKey, LambdaGetterFunction, LambdaSetterFunction, int)that takes aClassDescriptor.ValueCreatorrather than a getter and setter.ClassDescriptor.Builder.withProp(ClassDescriptor.Destination dest, SymbolKey name, ScriptableObject.LambdaGetterFunction getter, ScriptableObject.LambdaSetterFunction setter, int attributes) Version ofwithProp(Destination, String, LambdaGetterFunction, LambdaSetterFunction, int)that takes aSymbolKeyas the name.Methods in org.htmlunit.corejs.javascript with parameters of type ClassDescriptor.BuilderModifier and TypeMethodDescriptionabstract org.htmlunit.corejs.javascript.ClassDescriptor.PropsClassDescriptor.Destination.get(ClassDescriptor.Builder builder)