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

The following are top voted examples for showing how to use jdk.nashorn.internal.objects.annotations.Setter. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: kaziranga   File: Global.java   Source Code and License 5 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) {
    Kaziranga.notAvailableInKaziranga();
    final Global global = Global.instanceFrom(self);
    global.jsadapter = value;
}
 
Example 2
Project: openjdk-jdk10   File: Global.java   Source Code and License 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 3
Project: openjdk-jdk10   File: Global.java   Source Code and License 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 4
Project: openjdk-jdk10   File: Global.java   Source Code and License 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 5
Project: openjdk-jdk10   File: Global.java   Source Code and License 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 6
Project: openjdk-jdk10   File: Global.java   Source Code and License 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 7
Project: openjdk-jdk10   File: Global.java   Source Code and License 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 8
Project: openjdk-jdk10   File: Global.java   Source Code and License 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 9
Project: openjdk-jdk10   File: Global.java   Source Code and License 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 10
Project: openjdk-jdk10   File: Global.java   Source Code and License 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 11
Project: openjdk-jdk10   File: Global.java   Source Code and License 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 12
Project: openjdk-jdk10   File: Global.java   Source Code and License 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 13
Project: openjdk-jdk10   File: Global.java   Source Code and License 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 14
Project: openjdk9   File: Global.java   Source Code and License 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 15
Project: openjdk9   File: Global.java   Source Code and License 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 16
Project: openjdk9   File: Global.java   Source Code and License 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 17
Project: openjdk9   File: Global.java   Source Code and License 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 18
Project: openjdk9   File: Global.java   Source Code and License 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 19
Project: openjdk9   File: Global.java   Source Code and License 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 20
Project: openjdk9   File: Global.java   Source Code and License 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 21
Project: openjdk9   File: Global.java   Source Code and License 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 22
Project: openjdk9   File: Global.java   Source Code and License 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 23
Project: openjdk9   File: Global.java   Source Code and License 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 24
Project: openjdk9   File: Global.java   Source Code and License 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 25
Project: openjdk9   File: Global.java   Source Code and License 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 26
Project: programmierpraktikum-abschlussprojekt-zenamike   File: InformationCore.java   Source Code and License 4 votes vote down vote up
@Setter
public void setCodeManager(TextManager codeManager) {
    this.codeManager = codeManager;
}
 
Example 27
Project: programmierpraktikum-abschlussprojekt-zenamike   File: InformationCore.java   Source Code and License 4 votes vote down vote up
@Setter
public void setCompileManager(CompilerManager compileManager) {
    this.compileManager = compileManager;

}
 
Example 28
Project: programmierpraktikum-abschlussprojekt-zenamike   File: InformationCore.java   Source Code and License 4 votes vote down vote up
@Setter
public void setCycleManager(CycleManager cycleManager) {
    this.cycleManager = cycleManager;
}
 
Example 29
Project: programmierpraktikum-abschlussprojekt-zenamike   File: InformationCore.java   Source Code and License 4 votes vote down vote up
@Setter
public void setSettingsManager(SettingsManager settingsManager) {
    this.settingsManager = settingsManager;
}
 
Example 30
Project: programmierpraktikum-abschlussprojekt-zenamike   File: InformationCore.java   Source Code and License 4 votes vote down vote up
@Setter
public void setTestManager(TextManager testManager) {
    this.testManager = testManager;
}
 
Example 31
Project: AuxiliumLib   File: RetryingMattpRequestEnvoy.java   Source Code and License 4 votes vote down vote up
@Setter public void setNumberOfTries(int numberOfTries)
{
	Validate.isTrue(numberOfTries > 0, "numberOfTries has to be greater than 0, was "+numberOfTries);
	this.numberOfTries = numberOfTries;
}
 
Example 32
Project: kaziranga   File: Global.java   Source Code and License 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 33
Project: kaziranga   File: Global.java   Source Code and License 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 34
Project: kaziranga   File: Global.java   Source Code and License 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 35
Project: kaziranga   File: Global.java   Source Code and License 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 36
Project: kaziranga   File: Global.java   Source Code and License 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 37
Project: kaziranga   File: Global.java   Source Code and License 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 38
Project: kaziranga   File: Global.java   Source Code and License 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 39
Project: kaziranga   File: Global.java   Source Code and License 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 40
Project: kaziranga   File: Global.java   Source Code and License 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;
}