Specialize JavaFileTemplate.importedName(Type) 17/85317/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 21 Oct 2019 18:46:29 +0000 (20:46 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 21 Oct 2019 21:06:04 +0000 (23:06 +0200)
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)


No differences found