Package org.robolectric.interceptors
Class AndroidInterceptors.NioUtilsFreeDirectBufferInterceptor
java.lang.Object
org.robolectric.internal.bytecode.Interceptor
org.robolectric.interceptors.AndroidInterceptors.NioUtilsFreeDirectBufferInterceptor
- Enclosing class:
- AndroidInterceptors
AndroidInterceptor for NioUtils.freeDirectBuffer.
This method is invoked by ImageReader.java. The class is not part of the JDK.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMethodHandle
(String methodName, MethodType type) handle
(MethodSignature methodSignature) Methods inherited from class org.robolectric.internal.bytecode.Interceptor
getMethodRefs, returnDefaultValue
-
Constructor Details
-
NioUtilsFreeDirectBufferInterceptor
public NioUtilsFreeDirectBufferInterceptor()
-
-
Method Details
-
handle
- Specified by:
handle
in classInterceptor
-
getMethodHandle
public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodException, IllegalAccessException - Specified by:
getMethodHandle
in classInterceptor
- Throws:
NoSuchMethodException
IllegalAccessException
-