vineflower
vineflower copied to clipboard
Line wrapping wraps inside parentheses of no-arg method calls if line is very long
On field and variable declarations where the type combined with the initializer are very long (usually involving generics), the decompiler tends to wrap them like this:
private static final Function<Entry<Property<?>, Comparable<?>>, String> PROPERTY_ENTRY_TO_STRING_FUNCTION = new Function<Entry<Property<?>, Comparable<?>>, String>(
) {
This is not quite ideal and could be wrapped before the =, but wrapping inside () probably should never happen even if that's the only way to shorten the line.
Using Mojmap there are 25 instances of this, easily found with the regex \(\n +\n +\).