Uses of Enum Class
org.htmlunit.corejs.javascript.ClassDescriptor.Destination
Packages that use ClassDescriptor.Destination
-
Uses of ClassDescriptor.Destination in org.htmlunit.corejs.javascript
Methods in org.htmlunit.corejs.javascript that return ClassDescriptor.DestinationModifier and TypeMethodDescriptionstatic ClassDescriptor.DestinationReturns the enum constant of this class with the specified name.static ClassDescriptor.Destination[]ClassDescriptor.Destination.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.htmlunit.corejs.javascript with parameters of type ClassDescriptor.DestinationModifier 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 ofClassDescriptor.Builder.withProp(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 ofClassDescriptor.Builder.withProp(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 ofClassDescriptor.Builder.withProp(Destination, String, LambdaGetterFunction, LambdaSetterFunction, int)that takes aSymbolKeyas the name.