Currently, the JavacConverter doesn't map String a, b; as a single FieldDeclaration with 2 VariableDeclarationFragments, but instead creates 2 FieldDeclarations (this is how Javac returns those). However, by checking the ranges, we could identify that case and create a proper JDT DOM with single FieldDeclaration.
This causes TypeMismatchQuickFixTest.testTypeMismatchInAssignment3() to fail.
Currently, the JavacConverter doesn't map
String a, b;
as a single FieldDeclaration with 2 VariableDeclarationFragments, but instead creates 2 FieldDeclarations (this is how Javac returns those). However, by checking the ranges, we could identify that case and create a proper JDT DOM with single FieldDeclaration. This causes TypeMismatchQuickFixTest.testTypeMismatchInAssignment3() to fail.