sts4
sts4 copied to clipboard
Use OpenRewrite Properties AST and Parser
Currently we have java-properties project under commons which defines Properties AST and Parser generated with ANTLR from g4 grammar file. It should not be too much effort to switch to OpenRewrite Properties AST and Parser. The only catch is granularity of OR AST for properties as far as I remember there is AST node for key-value pair and for the key but not for the value which makes it rather inconvenient. Also, OR Properties Parser used not support values split between different lines... it still might be the case.