That part of code was refactored out of existing one with only changes consisting of introducing some constructor parameters in favour of hard-coded values.

Do you have some ideas where it should be de-registered? As I understand it, `SemanticAction` is created once on start of Eclipse, single `AnnotationPainter` is registered and then it's used until the end.