Fix outerclass handling for the @TargetApi annotation

This changeset adds outerclass handling for the @TargetApi annotation,
such that the API checker takes outerclasses (and outermethods, in the
case of anonymous inner classes) into account when computing the
effective minimum SDK For a method.

This also fixes the handling of nested anonymous innerclasses for the
@SuppressLint annotation.

http://code.google.com/p/android/issues/detail?id=26262

Change-Id: Iafb0fd88cc41042ea1727c3882e3ddd1ebfc1f09
9 files changed