I can use AnnotationStore.SetAction (..., MethodAction.ConvertToStub) to convert a method to a stub in a custom task, but I need AnnotationStore.SetMethodStubValue to be able to make the linker do constant propagation of that stub.
The same applies to AnnotationStore.SetFieldValue and AnnotationStore.SetSubstitutedInit