Turn AnnotationLiteral instance into a constant

Change-Id: I718308184ec7be64d336ea95c1d2684254649a55