#357 Fix Scala 2.11 warning: method tpe in trait AnnotationApi is deprecated: Use `tree.tpe` instead