95% of call sites do not use annotations, hence we specialize
this method and support it through specialized
AbstractJavaGeneratedType.getReferenceString(Type).
This clearly separates the two codepaths and removes superfluous
checks and indirections in both paths.
Change-Id: I17bfef631d446d71147b17146d5b2cf71a8be623
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
dbaae85acd37ba622f4f53a7335af14e768fb180)