Analyzers are completely refactored to use spi.java.hints (#12897).

Change-Id: I9c3349c0589b3d1472a687d33025ebeaea158d87