Class Interceptor
java.lang.Object
org.robolectric.internal.bytecode.Interceptor
- Direct Known Subclasses:
AndroidInterceptors.CleanerInterceptor
,AndroidInterceptors.FileDescriptorInterceptor
,AndroidInterceptors.LinkedHashMapEldestInterceptor
,AndroidInterceptors.LocaleAdjustLanguageCodeInterceptor
,AndroidInterceptors.NioUtilsFreeDirectBufferInterceptor
,AndroidInterceptors.NoOpInterceptor
,AndroidInterceptors.ReferenceRefersToInterceptor
,AndroidInterceptors.SocketInterceptor
,AndroidInterceptors.SystemArrayCopyInterceptor
,AndroidInterceptors.SystemLogInterceptor
,AndroidInterceptors.SystemTimeInterceptor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract MethodHandle
getMethodHandle
(String methodName, MethodType type) handle
(MethodSignature methodSignature) returnDefaultValue
(MethodSignature methodSignature)
-
Constructor Details
-
Interceptor
-
-
Method Details
-
getMethodRefs
-
handle
-
getMethodHandle
public abstract MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodException, IllegalAccessException -
returnDefaultValue
@Nonnull protected static Function<Object,Object> returnDefaultValue(MethodSignature methodSignature)
-