Description
Summaries are duplicated when rendering mode is on.
Also annotations and method name are duplicated above the Java doc.
To Reproduce
- Run the 'UTBotJava' project in IntelliJ Idea 2022.1.4
- Open utbot-sample/src/test/java/org/utbot/examples/algorithms/ArraysQuickSortTest.java
- Use one of the latest builds of plugin to generate tests
- Open the generated test
- Find tests in SYMBOLIC EXECUTION ENGINE: ERROR SUITE
- Render Java docs (Ctrl+Alt+Q)
Expected behavior
Java docs should be rendered correctly - without duplications.
Actual behavior
Tagged information is duplicated.
Annotations and method name are duplicated above the Java doc.
Visual proofs (screenshots, logs, images)
Test in rendered view:

Test in text mode:
/**
* @utbot.classUnderTest {@link ArraysQuickSort}
* @utbot.methodUnderTest {@link ArraysQuickSort#sort(int[], int, int, int[], int, int)}
* @utbot.executesCondition {@code (right - left < 286): True},
* {@code (null): False}
* @utbot.invokes {@link ArraysQuickSort#sort(int[], int, int, boolean)}
* @utbot.throwsException {@link ArrayIndexOutOfBoundsException} in: internalSort(a, left, right, true);
*/
@Test
@DisplayName("sort: internalSort(a, left, right, true) : True -> ThrowArrayIndexOutOfBoundsException")
public void testSort_ThrowArrayIndexOutOfBoundsException() {
int[] a = {1, 1};
/* This test fails because method [org.utbot.examples.algorithms.ArraysQuickSort.sort] produces [java.lang.ArrayIndexOutOfBoundsException] */
ArraysQuickSort.sort(a, -208, 71, null, -255, -255);
}
Environment
Windows 10 Pro
IntelliJ IDEA 2022.1.4
JDK 11
Description
Summaries are duplicated when rendering mode is on.
Also annotations and method name are duplicated above the Java doc.
To Reproduce
Expected behavior
Java docs should be rendered correctly - without duplications.
Actual behavior
Tagged information is duplicated.
Annotations and method name are duplicated above the Java doc.
Visual proofs (screenshots, logs, images)
Test in rendered view:
Test in text mode:
Environment
Windows 10 Pro
IntelliJ IDEA 2022.1.4
JDK 11