Change to using CodeInspection API.