[compiler] compile inner types in annotations
https://bugs.eclipse.org/bugs/show_bug.cgi?id=448564

Change-Id: If262da59441f44a3f8fc5c2fed59bb2b68dc8ce2