Package org.robolectric.interceptors
Class AndroidInterceptors.SystemLogInterceptor
- java.lang.Object
-
- org.robolectric.internal.bytecode.Interceptor
-
- org.robolectric.interceptors.AndroidInterceptors.SystemLogInterceptor
-
- Enclosing class:
- AndroidInterceptors
public static class AndroidInterceptors.SystemLogInterceptor extends Interceptor
AndroidInterceptor for System.logE and System.logW.
-
-
Constructor Summary
Constructors Constructor Description SystemLogInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodHandle
getMethodHandle(String methodName, MethodType type)
Function<Object,Object>
handle(MethodSignature methodSignature)
-
Methods inherited from class org.robolectric.internal.bytecode.Interceptor
getMethodRefs, returnDefaultValue
-
-
-
-
Method Detail
-
handle
public Function<Object,Object> handle(MethodSignature methodSignature)
- Specified by:
handle
in classInterceptor
-
getMethodHandle
public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodException, IllegalAccessException
- Specified by:
getMethodHandle
in classInterceptor
- Throws:
NoSuchMethodException
IllegalAccessException
-
-