Java Code Examples for jdk.nashorn.internal.objects.annotations.Setter

The following examples show how to use jdk.nashorn.internal.objects.annotations.Setter. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: TencentKona-8   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for ECMA 15.12 - The JSON property
 * @param self self reference
 * @param value value for the JSON property
 */
@Setter(name = "JSON", attributes = Attribute.NOT_ENUMERABLE)
public static void setJSON(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.json = value;
}
 
Example 2
Source Project: TencentKona-8   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for Nashorn extension: global.JSAdapter
 * @param self self reference
 * @param value value for the JSAdapter property
 */
@Setter(name = "JSAdapter", attributes = Attribute.NOT_ENUMERABLE)
public static void setJSAdapter(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.jsadapter = value;
}
 
Example 3
Source Project: TencentKona-8   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the RangeError property.
 * @param self self reference
 * @param value value for the RangeError property
 */
@Setter(name = "RangeError", attributes = Attribute.NOT_ENUMERABLE)
public static void setRangeError(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.rangeError = value;
}
 
Example 4
Source Project: TencentKona-8   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the URIError property.
 * @param self self reference
 * @param value value for the URIError property
 */
@Setter(name = "URIError", attributes = Attribute.NOT_ENUMERABLE)
public static void setURIError(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.uriError = value;
}
 
Example 5
Source Project: TencentKona-8   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the ArrayBuffer property.
 * @param self self reference
 * @param value value of the ArrayBuffer property
 */
@Setter(name = "ArrayBuffer", attributes = Attribute.NOT_ENUMERABLE)
public static void setArrayBuffer(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.arrayBuffer = value;
}
 
Example 6
Source Project: TencentKona-8   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the DataView property.
 * @param self self reference
 * @param value value of the DataView property
 */
@Setter(name = "DataView", attributes = Attribute.NOT_ENUMERABLE)
public static void setDataView(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.dataView = value;
}
 
Example 7
Source Project: openjdk-jdk9   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for ECMA 15.12 - The JSON property
 * @param self self reference
 * @param value value for the JSON property
 */
@Setter(name = "JSON", attributes = Attribute.NOT_ENUMERABLE)
public static void setJSON(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.json = value;
}
 
Example 8
Source Project: TencentKona-8   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the Uin8Array property.
 * @param self self reference
 * @param value value of the Uin8Array property
 */
@Setter(name = "Uint8Array", attributes = Attribute.NOT_ENUMERABLE)
public static void setUint8Array(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.uint8Array = value;
}
 
Example 9
Source Project: TencentKona-8   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the Uint8ClampedArray property.
 * @param self self reference
 * @param value value of the Uint8ClampedArray property
 */
@Setter(name = "Uint8ClampedArray", attributes = Attribute.NOT_ENUMERABLE)
public static void setUint8ClampedArray(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.uint8ClampedArray = value;
}
 
Example 10
Source Project: TencentKona-8   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the Int16Array property.
 * @param self self reference
 * @param value value of the Int16Array property
 */
@Setter(name = "Int16Array", attributes = Attribute.NOT_ENUMERABLE)
public static void setInt16Array(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.int16Array = value;
}
 
Example 11
Source Project: TencentKona-8   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the Uint16Array property.
 * @param self self reference
 * @param value value of the Uint16Array property
 */
@Setter(name = "Uint16Array", attributes = Attribute.NOT_ENUMERABLE)
public static void setUint16Array(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.uint16Array = value;
}
 
Example 12
Source Project: openjdk-jdk9   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for Nashorn extension: global.JSAdapter
 * @param self self reference
 * @param value value for the JSAdapter property
 */
@Setter(name = "JSAdapter", attributes = Attribute.NOT_ENUMERABLE)
public static void setJSAdapter(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.jsadapter = value;
}
 
Example 13
Source Project: openjdk-jdk9   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the Uint8ClampedArray property.
 * @param self self reference
 * @param value value of the Uint8ClampedArray property
 */
@Setter(name = "Uint8ClampedArray", attributes = Attribute.NOT_ENUMERABLE)
public static void setUint8ClampedArray(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.uint8ClampedArray = value;
}
 
Example 14
Source Project: jdk8u60   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for Nashorn extension: global.JSAdapter
 * @param self self reference
 * @param value value for the JSAdapter property
 */
@Setter(name = "JSAdapter", attributes = Attribute.NOT_ENUMERABLE)
public static void setJSAdapter(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.jsadapter = value;
}
 
Example 15
Source Project: jdk8u60   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the EvalError property
 * @param self self reference
 * @param value value of the EvalError property
 */
@Setter(name = "EvalError", attributes = Attribute.NOT_ENUMERABLE)
public static void setEvalError(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.evalError = value;
}
 
Example 16
Source Project: jdk8u60   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the RangeError property.
 * @param self self reference
 * @param value value for the RangeError property
 */
@Setter(name = "RangeError", attributes = Attribute.NOT_ENUMERABLE)
public static void setRangeError(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.rangeError = value;
}
 
Example 17
Source Project: jdk8u60   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the URIError property.
 * @param self self reference
 * @param value value for the URIError property
 */
@Setter(name = "URIError", attributes = Attribute.NOT_ENUMERABLE)
public static void setURIError(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.uriError = value;
}
 
Example 18
Source Project: jdk8u60   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the ArrayBuffer property.
 * @param self self reference
 * @param value value of the ArrayBuffer property
 */
@Setter(name = "ArrayBuffer", attributes = Attribute.NOT_ENUMERABLE)
public static void setArrayBuffer(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.arrayBuffer = value;
}
 
Example 19
Source Project: jdk8u60   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the DataView property.
 * @param self self reference
 * @param value value of the DataView property
 */
@Setter(name = "DataView", attributes = Attribute.NOT_ENUMERABLE)
public static void setDataView(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.dataView = value;
}
 
Example 20
Source Project: jdk8u60   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the Uin8Array property.
 * @param self self reference
 * @param value value of the Uin8Array property
 */
@Setter(name = "Uint8Array", attributes = Attribute.NOT_ENUMERABLE)
public static void setUint8Array(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.uint8Array = value;
}
 
Example 21
Source Project: openjdk-jdk9   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the Uint16Array property.
 * @param self self reference
 * @param value value of the Uint16Array property
 */
@Setter(name = "Uint16Array", attributes = Attribute.NOT_ENUMERABLE)
public static void setUint16Array(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.uint16Array = value;
}
 
Example 22
Source Project: jdk8u60   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the Int16Array property.
 * @param self self reference
 * @param value value of the Int16Array property
 */
@Setter(name = "Int16Array", attributes = Attribute.NOT_ENUMERABLE)
public static void setInt16Array(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.int16Array = value;
}
 
Example 23
Source Project: openjdk-jdk9   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the EvalError property
 * @param self self reference
 * @param value value of the EvalError property
 */
@Setter(name = "EvalError", attributes = Attribute.NOT_ENUMERABLE)
public static void setEvalError(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.evalError = value;
}
 
Example 24
Source Project: openjdk-jdk8u   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for ECMA 15.12 - The JSON property
 * @param self self reference
 * @param value value for the JSON property
 */
@Setter(name = "JSON", attributes = Attribute.NOT_ENUMERABLE)
public static void setJSON(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.json = value;
}
 
Example 25
Source Project: openjdk-jdk8u   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for Nashorn extension: global.JSAdapter
 * @param self self reference
 * @param value value for the JSAdapter property
 */
@Setter(name = "JSAdapter", attributes = Attribute.NOT_ENUMERABLE)
public static void setJSAdapter(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.jsadapter = value;
}
 
Example 26
Source Project: openjdk-jdk8u   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the EvalError property
 * @param self self reference
 * @param value value of the EvalError property
 */
@Setter(name = "EvalError", attributes = Attribute.NOT_ENUMERABLE)
public static void setEvalError(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.evalError = value;
}
 
Example 27
Source Project: openjdk-jdk8u   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the RangeError property.
 * @param self self reference
 * @param value value for the RangeError property
 */
@Setter(name = "RangeError", attributes = Attribute.NOT_ENUMERABLE)
public static void setRangeError(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.rangeError = value;
}
 
Example 28
Source Project: openjdk-jdk8u   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the URIError property.
 * @param self self reference
 * @param value value for the URIError property
 */
@Setter(name = "URIError", attributes = Attribute.NOT_ENUMERABLE)
public static void setURIError(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.uriError = value;
}
 
Example 29
Source Project: openjdk-jdk8u   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the ArrayBuffer property.
 * @param self self reference
 * @param value value of the ArrayBuffer property
 */
@Setter(name = "ArrayBuffer", attributes = Attribute.NOT_ENUMERABLE)
public static void setArrayBuffer(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.arrayBuffer = value;
}
 
Example 30
Source Project: openjdk-jdk8u   Source File: Global.java    License: GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the DataView property.
 * @param self self reference
 * @param value value of the DataView property
 */
@Setter(name = "DataView", attributes = Attribute.NOT_ENUMERABLE)
public static void setDataView(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.dataView = value;
}