Home
last modified time | relevance | path

Searched refs:arrayClass (Results 1 – 7 of 7) sorted by relevance

/libcore/libart/src/main/java/java/lang/invoke/
DArrayElementVarHandle.java27 private ArrayElementVarHandle(Class<?> arrayClass) { in ArrayElementVarHandle() argument
28 super(arrayClass.getComponentType(), arrayClass, false /* isFinal */, in ArrayElementVarHandle() local
29 arrayClass, int.class); in ArrayElementVarHandle() local
32 static ArrayElementVarHandle create(Class<?> arrayClass) { in create() argument
33 return new ArrayElementVarHandle(arrayClass); in create()
DByteArrayViewVarHandle.java28 private ByteArrayViewVarHandle(Class<?> arrayClass, ByteOrder byteOrder) { in ByteArrayViewVarHandle() argument
29 super(arrayClass.getComponentType(), byte[].class, false /* isFinal */, in ByteArrayViewVarHandle()
34 static ByteArrayViewVarHandle create(Class<?> arrayClass, ByteOrder byteOrder) { in create() argument
35 return new ByteArrayViewVarHandle(arrayClass, byteOrder); in create()
DByteBufferViewVarHandle.java29 private ByteBufferViewVarHandle(Class<?> arrayClass, ByteOrder byteOrder) { in ByteBufferViewVarHandle() argument
30 super(arrayClass.getComponentType(), byte[].class, false /* isFinal */, in ByteBufferViewVarHandle()
35 static ByteBufferViewVarHandle create(Class<?> arrayClass, ByteOrder byteOrder) { in create() argument
36 return new ByteBufferViewVarHandle(arrayClass, byteOrder); in create()
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java2030 MethodHandle arrayElementGetter(Class<?> arrayClass) throws IllegalArgumentException { in arrayElementGetter() argument
2031 checkClassIsArray(arrayClass); in arrayElementGetter()
2032 final Class<?> componentType = arrayClass.getComponentType(); in arrayElementGetter()
2037 MethodType.methodType(componentType, arrayClass, int.class)); in arrayElementGetter()
2043 return new Transformers.ReferenceArrayElementGetter(arrayClass); in arrayElementGetter()
2066 MethodHandle arrayElementSetter(Class<?> arrayClass) throws IllegalArgumentException { in arrayElementSetter() argument
2067 checkClassIsArray(arrayClass); in arrayElementSetter()
2068 final Class<?> componentType = arrayClass.getComponentType(); in arrayElementSetter()
2073 MethodType.methodType(void.class, arrayClass, int.class, componentType)); in arrayElementSetter()
2079 return new Transformers.ReferenceArrayElementSetter(arrayClass); in arrayElementSetter()
[all …]
DTransformers.java241 private final Class<?> arrayClass; field in Transformers.ReferenceArrayElementGetter
243 public ReferenceArrayElementGetter(Class<?> arrayClass) { in ReferenceArrayElementGetter() argument
244 super(MethodType.methodType(arrayClass.getComponentType(), in ReferenceArrayElementGetter()
245 new Class<?>[]{arrayClass, int.class})); in ReferenceArrayElementGetter()
246 this.arrayClass = arrayClass; in ReferenceArrayElementGetter()
255 final Object[] array = (Object[]) reader.nextReference(arrayClass); in transform()
262 writer.putNextReference(array[index], arrayClass.getComponentType()); in transform()
270 private final Class<?> arrayClass; field in Transformers.ReferenceArrayElementSetter
272 public ReferenceArrayElementSetter(Class<?> arrayClass) { in ReferenceArrayElementSetter() argument
274 new Class<?>[] { arrayClass, int.class, arrayClass.getComponentType() })); in ReferenceArrayElementSetter()
[all …]
/libcore/ojluni/src/lambda/java/java/lang/invoke/
DMethodHandles.java94 …MethodHandle arrayElementGetter(Class<?> arrayClass) throws IllegalArgumentException { return null… in arrayElementGetter() argument
97 …MethodHandle arrayElementSetter(Class<?> arrayClass) throws IllegalArgumentException { return null… in arrayElementSetter() argument
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/
DMethodHandles.java63 public static java.lang.invoke.MethodHandle arrayElementGetter(java.lang.Class<?> arrayClass) in arrayElementGetter() argument
100 public static java.lang.invoke.MethodHandle arrayElementSetter(java.lang.Class<?> arrayClass) in arrayElementSetter() argument
137 public static java.lang.invoke.VarHandle arrayElementVarHandle(java.lang.Class<?> arrayClass) in arrayElementVarHandle() argument