If a field is initialized via a factory method taking a single argument,
we can relatively safely consider that said argument is a good
representation of its default value. This is typically the case for
Charset or MimeType instances.
We now make sure to detect such use case (i.e. method argument with a
single argument).
Closes gh-3482
@ -121,6 +122,10 @@ public class JavaCompilerFieldValuesParser implements FieldValuesParser {
@@ -121,6 +122,10 @@ public class JavaCompilerFieldValuesParser implements FieldValuesParser {
@ -74,6 +74,10 @@ public abstract class AbstractFieldValuesProcessorTests {
@@ -74,6 +74,10 @@ public abstract class AbstractFieldValuesProcessorTests {