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

The following examples show how to use jdk.nashorn.internal.objects.annotations.Setter. 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 File: Global.java    From openjdk-jdk9 with 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 #2
Source File: Global.java    From TencentKona-8 with 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 #3
Source File: Global.java    From openjdk-jdk9 with 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 #4
Source File: Global.java    From TencentKona-8 with 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 #5
Source File: Global.java    From TencentKona-8 with 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 #6
Source File: Global.java    From TencentKona-8 with 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 #7
Source File: Global.java    From TencentKona-8 with 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 #8
Source File: Global.java    From TencentKona-8 with 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 #9
Source File: Global.java    From jdk8u60 with 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 #10
Source File: Global.java    From jdk8u60 with 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 #11
Source File: Global.java    From jdk8u60 with 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 #12
Source File: Global.java    From jdk8u60 with 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 #13
Source File: Global.java    From jdk8u60 with 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 #14
Source File: Global.java    From openjdk-jdk8u-backup with 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 #15
Source File: Global.java    From jdk8u60 with 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 #16
Source File: Global.java    From jdk8u60 with 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 #17
Source File: Global.java    From jdk8u60 with 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 #18
Source File: Global.java    From openjdk-jdk9 with 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 #19
Source File: Global.java    From openjdk-jdk9 with 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 File: Global.java    From openjdk-jdk8u-backup with 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 #21
Source File: Global.java    From openjdk-jdk8u-backup with 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 #22
Source File: Global.java    From openjdk-jdk8u with 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 #23
Source File: Global.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Setter for the Int8Array property.
 * @param self self reference
 * @param value value of the Int8Array property
 */
@Setter(name = "Int8Array", attributes = Attribute.NOT_ENUMERABLE)
public static void setInt8Array(final Object self, final Object value) {
    final Global global = Global.instanceFrom(self);
    global.int8Array = value;
}
 
Example #24
Source File: Global.java    From openjdk-jdk8u with 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 #25
Source File: Global.java    From openjdk-jdk8u with 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 #26
Source File: Global.java    From openjdk-jdk8u with 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 #27
Source File: Global.java    From openjdk-jdk8u with 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 #28
Source File: Global.java    From openjdk-jdk8u with 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 #29
Source File: Global.java    From openjdk-jdk8u with 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 #30
Source File: Global.java    From openjdk-jdk8u with 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;
}