using error prone library to detect SDK public API used by mainline module. Test: atest JavaApiUsedByMainlineModuleTest.