本文整理汇总了Java中jdk.nashorn.internal.objects.annotations.Setter类的典型用法代码示例。如果您正苦于以下问题:Java Setter类的具体用法?Java Setter怎么用?Java Setter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Setter类属于jdk.nashorn.internal.objects.annotations包,在下文中一共展示了Setter类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setUint8Array
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
* 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;
}
示例2: setJSAdapter
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
* 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;
}
示例3: setJSON
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
* 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;
}
示例4: setJSAdapter
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
* 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;
}
示例5: setEvalError
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
* 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;
}
示例6: setRangeError
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
* 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;
}
示例7: setURIError
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
* 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;
}
示例8: setArrayBuffer
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
* 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;
}
示例9: setDataView
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
* 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;
}
示例10: setInt8Array
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
* 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;
}
示例11: setUint8ClampedArray
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
* 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;
}
示例12: setInt16Array
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
* 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;
}
示例13: setUint16Array
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
/**
* 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;
}
示例14: setCodeManager
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
@Setter
public void setCodeManager(TextManager codeManager) {
this.codeManager = codeManager;
}
示例15: setCompileManager
import jdk.nashorn.internal.objects.annotations.Setter; //导入依赖的package包/类
@Setter
public void setCompileManager(CompilerManager compileManager) {
this.compileManager = compileManager;
}