separated an error for a scoping annotation not on method or class and a
warning if it is on a method but a non-provides method. The warning code
is not yet complete