AnnotatedLineModificationDetails (@NotNull String lineContentAfter) { InnerChange innerChange = new InnerChange(0, lineContentAfter.length(), InnerChangeType.MODIFIED); return new AnnotatedLineModificationDetails(lineContentAfter, singletonList(innerChange)); }