Move AnnotationLiteral constants from InjectionResolver to Factory.