Java Code Examples for jdk.nashorn.internal.runtime.GlobalObject#newDataDescriptor()
The following examples show how to use
jdk.nashorn.internal.runtime.GlobalObject#newDataDescriptor() .
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: FrozenArrayFilter.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
@Override public PropertyDescriptor getDescriptor(final GlobalObject global, final int index) { return global.newDataDescriptor(getObject(index), false, true, false); }
Example 2
Source File: SealedArrayFilter.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
@Override public PropertyDescriptor getDescriptor(final GlobalObject global, final int index) { return global.newDataDescriptor(getObject(index), false, true, true); }
Example 3
Source File: FrozenArrayFilter.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
@Override public PropertyDescriptor getDescriptor(final GlobalObject global, final int index) { return global.newDataDescriptor(getObject(index), false, true, false); }
Example 4
Source File: SealedArrayFilter.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
@Override public PropertyDescriptor getDescriptor(final GlobalObject global, final int index) { return global.newDataDescriptor(getObject(index), false, true, true); }
Example 5
Source File: FrozenArrayFilter.java From nashorn with GNU General Public License v2.0 | 4 votes |
@Override public PropertyDescriptor getDescriptor(final GlobalObject global, final int index) { return global.newDataDescriptor(getObject(index), false, true, false); }
Example 6
Source File: SealedArrayFilter.java From nashorn with GNU General Public License v2.0 | 4 votes |
@Override public PropertyDescriptor getDescriptor(final GlobalObject global, final int index) { return global.newDataDescriptor(getObject(index), false, true, true); }
Example 7
Source File: ArrayData.java From openjdk-8-source with GNU General Public License v2.0 | 2 votes |
/** * Returns property descriptor for element at a given index * * @param global the global object * @param index the index * * @return property descriptor for element */ public PropertyDescriptor getDescriptor(final GlobalObject global, final int index) { return global.newDataDescriptor(getObject(index), true, true, true); }
Example 8
Source File: ArrayData.java From openjdk-8 with GNU General Public License v2.0 | 2 votes |
/** * Returns property descriptor for element at a given index * * @param global the global object * @param index the index * * @return property descriptor for element */ public PropertyDescriptor getDescriptor(final GlobalObject global, final int index) { return global.newDataDescriptor(getObject(index), true, true, true); }
Example 9
Source File: ArrayData.java From nashorn with GNU General Public License v2.0 | 2 votes |
/** * Returns property descriptor for element at a given index * * @param global the global object * @param index the index * * @return property descriptor for element */ public PropertyDescriptor getDescriptor(final GlobalObject global, final int index) { return global.newDataDescriptor(getObject(index), true, true, true); }