File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/util Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
package org.utbot.intellij.plugin.util
2
2
3
3
/* *
4
- * Getting from spring Configuration Classes and Spring XML Configuration Files shortened paths
4
+ * This class is a converter between full Spring configuration names and shortened versions.
5
5
*
6
- * How is this done:
7
- * - Parent directories are appended to the file name until the path becomes unique
6
+ * Shortened versions are represented on UI.
7
+ * Full names are used in further analysis in utbot-spring-analyzer.
8
8
*
9
- * Example:
10
- * - [["config.web.WebConfig", "config.web2.WebConfig", "config.web.AnotherConfig"]] ->
11
- * [["web.WebConfig", "web2.WebConfig", "AnotherConfig"]]
9
+ * The idea of this implementation is to append parent directories to the file name until all names become unique.
10
+ *
11
+ * Example:
12
+ * - [["config.web.WebConfig", "config.web2.WebConfig", "config.web.AnotherConfig"]]
13
+ * ->
14
+ * [["web.WebConfig", "web2.WebConfig", "AnotherConfig"]]
12
15
*/
13
16
class SpringConfigurationsHelper (val separator : String ) {
14
17
You can’t perform that action at this time.
0 commit comments