J2K: moved part of code into special AnnotationConverter to make Converter.kt smaller