Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestReflection.java58 public void methodInvocation(VarHandle.AccessMode accessMode) throws Exception { in methodInvocation() argument
63 Method vhm = VarHandle.class.getMethod(accessMode.methodName(), Object[].class); in methodInvocation()
68 public void methodHandleInvoke(VarHandle.AccessMode accessMode) throws Throwable { in methodHandleInvoke() argument
74 VarHandle.class.getMethod(accessMode.methodName(), Object[].class)); in methodHandleInvoke()
81 public void methodInvocationFromMethodInfo(VarHandle.AccessMode accessMode) throws Exception { in methodInvocationFromMethodInfo() argument
88 VarHandle.class.getMethod(accessMode.methodName(), Object[].class)); in methodInvocationFromMethodInfo()
95 public void reflectAsFromVarHandleInvoker(VarHandle.AccessMode accessMode) throws Exception { in reflectAsFromVarHandleInvoker() argument
99 accessMode, v.accessModeType(accessMode)); in reflectAsFromVarHandleInvoker()
107 public void reflectAsFromFindVirtual(VarHandle.AccessMode accessMode) throws Exception { in reflectAsFromFindVirtual() argument
111 VarHandle.class, accessMode.methodName(), v.accessModeType(accessMode)); in reflectAsFromFindVirtual()
DVarHandleBaseTest.java460 for (TestAccessMode accessMode : testAccessModes()) { in testTypes()
461 MethodType amt = vh.accessModeType(accessMode.toAccessMode()); in testTypes()
/libcore/ojluni/src/main/java/java/lang/invoke/
DVarHandle.java1946 public final MethodType accessModeType(AccessMode accessMode) { in accessModeType() argument
1964 return accessMode.at.accessModeType(coordinateType0, varType); in accessModeType()
1966 return accessMode.at.accessModeType(coordinateType0, varType, coordinateType1); in accessModeType()
1986 public final boolean isAccessModeSupported(AccessMode accessMode) { in isAccessModeSupported() argument
1990 final int testBit = 1 << accessMode.ordinal(); in isAccessModeSupported()
2013 public final MethodHandle toMethodHandle(AccessMode accessMode) { in toMethodHandle() argument
2030 MethodType type = accessModeType(accessMode); in toMethodHandle()
2031 return MethodHandles.varHandleExactInvoker(accessMode, type).bindTo(this); in toMethodHandle()
2304 for (AccessMode accessMode : AccessMode.values()) { in accessTypesToBitMask()
2305 if (accessTypes.contains(accessMode.at)) { in accessTypesToBitMask()
[all …]
DMethodHandles.java862 VarHandle.AccessMode accessMode; in findVirtualForVH() local
864 accessMode = VarHandle.AccessMode.valueFromMethodName(name); in findVirtualForVH()
868 return varHandleInvoker(accessMode, type); in findVirtualForVH()
2741 static private MethodHandle methodHandleForVarHandleAccessor(VarHandle.AccessMode accessMode, in methodHandleForVarHandleAccessor() argument
2747 method = refc.getDeclaredMethod(accessMode.methodName(), Object[].class); in methodHandleForVarHandleAccessor()
2749 throw new InternalError("No method for AccessMode " + accessMode, e); in methodHandleForVarHandleAccessor()
2773 MethodHandle varHandleExactInvoker(VarHandle.AccessMode accessMode, MethodType type) { in varHandleExactInvoker() argument
2774 return methodHandleForVarHandleAccessor(accessMode, type, true /* isExactInvoker */); in varHandleExactInvoker()
2802 MethodHandle varHandleInvoker(VarHandle.AccessMode accessMode, MethodType type) { in varHandleInvoker() argument
2803 return methodHandleForVarHandleAccessor(accessMode, type, false /* isExactInvoker */); in varHandleInvoker()
/libcore/ojluni/annotations/flagged_api/java/lang/invoke/
DVarHandle.annotated.java103 …invoke.MethodType accessModeType(java.lang.invoke.VarHandle.AccessMode accessMode) { throw new Run… in accessModeType() argument
105 public final boolean isAccessModeSupported(java.lang.invoke.VarHandle.AccessMode accessMode) { thro… in isAccessModeSupported() argument
107 …voke.MethodHandle toMethodHandle(java.lang.invoke.VarHandle.AccessMode accessMode) { throw new Run… in toMethodHandle() argument
/libcore/luni/src/main/native/
Djava_lang_invoke_VarHandle.cpp20 static void ThrowUnsupportedOperationForAccessMode(JNIEnv* env, const char* accessMode) { in ThrowUnsupportedOperationForAccessMode() argument
28 accessMode); in ThrowUnsupportedOperationForAccessMode()
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/
DMethodHandles.java168 java.lang.invoke.VarHandle.AccessMode accessMode, in methodHandleForVarHandleAccessor() argument
175 java.lang.invoke.VarHandle.AccessMode accessMode, java.lang.invoke.MethodType type) { in varHandleExactInvoker() argument
180 java.lang.invoke.VarHandle.AccessMode accessMode, java.lang.invoke.MethodType type) { in varHandleInvoker() argument