Handles the problem of false positive @Nullable methods in cases when the result is a delegated call to a method that can be overridden. More conservative analysis doesn't handle call to this.someVirtualMethod(...) as a stable call. In this mode ThreadLocal.get() is not marked as @Nullable anymore.
Handles the problem of false positive
@Nullable
methods in cases when the result is a delegated call to a method that can be overridden. More conservative analysis doesn't handle call tothis.someVirtualMethod(...)
as a stable call. In this modeThreadLocal.get()
is not marked as@Nullable
anymore.