Rewrite emitAnnotation(Class,...) to use JavaWriter#type()
Rewrite emitAnnotation(Class,...) to use JavaWriter#type()

This should fix the methods when used with nested annotation types (binary
name vs. canonical name).

studyfordream/javapoet,auke-/javawriter,DirtyUnicorns/android_external_square_javawriter,square/kotlinpoet,eamonnmcmanus/javapoet,eamonnmcmanus/javapoet,kenzierocks/javapoet,ben-manes/javapoet,APaloski/javapoet,square/kotlinpoet,byterom/android_external_square_javawriter,sormuras/javapoet,sormuras/javapoet,rajatguptarg/javapoet,leorric/javawriter,gk5885/javawriter,leorric/javawriter,APaloski/javapoet,ThirdProject/android_external_square_javawriter,ks94/javapoet,DanielSerdyukov/javapoet,auke-/javawriter,rajatguptarg/javapoet,byterom/android_external_square_javawriter,gk5885/javawriter,square/javawriter,mumer92/javapoet,ks94/javapoet,PAC-ROM/android_external_square_javawriter,sitexa/javapoet,square/javapoet,ponsonio/javapoet,ThirdProject/android_external_square_javawriter,kenzierocks/javapoet,ponsonio/javapoet,ben-manes/javapoet,PAC-ROM/android_external_square_javawriter,studyfordream/javapoet,DanielSerdyukov/javapoet,DirtyUnicorns/android_external_square_javawriter,mumer92/javapoet,sitexa/javapoet