public static class AndroidInterceptors.FileDescriptorInterceptor extends Interceptor
FileDescriptor
.
libcore implements extensions to FileDescriptor
that support ownership tracking of
unix FDs, which are not part of the Java API. This intercepts calls to these and maps them to
the OpenJDK API.
Constructor | Description |
---|---|
FileDescriptorInterceptor() |
Modifier and Type | Method | Description |
---|---|---|
MethodHandle |
getMethodHandle(String methodName,
MethodType type) |
|
Function<Object,Object> |
handle(MethodSignature methodSignature) |
getMethodRefs, returnDefaultValue
public Function<Object,Object> handle(MethodSignature methodSignature)
handle
in class Interceptor
public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodException, IllegalAccessException
getMethodHandle
in class Interceptor
NoSuchMethodException
IllegalAccessException