diff options
-rw-r--r-- | test/configuration/resource/configurationRoot/out.txt | 54 | ||||
-rw-r--r-- | test/configuration/src/lombok/core/configuration/TestConfiguration.java | 4 |
2 files changed, 55 insertions, 3 deletions
diff --git a/test/configuration/resource/configurationRoot/out.txt b/test/configuration/resource/configurationRoot/out.txt index 41ac457b..19dc1e2d 100644 --- a/test/configuration/resource/configurationRoot/out.txt +++ b/test/configuration/resource/configurationRoot/out.txt @@ -15,9 +15,23 @@ lombok.accessors.prefix += f # BASE/d1/d11/lombok.config (stopped bubbling): # 5: lombok.accessors.prefix += f +# Generate @javax.annotation.Generated on all generated code (default: false). Deprecated, use 'lombok.addJavaxGeneratedAnnotation' instead. +clear lombok.addGeneratedAnnotation + +# Generate @javax.annotation.Generated on all generated code (default: follow lombok.addGeneratedAnnotation). +clear lombok.addJavaxGeneratedAnnotation + +# Generate @ConstructorProperties for generated constructors (default: false). +clear lombok.anyConstructor.addConstructorProperties + # Use this name for the generated logger fields (default: 'log'). clear lombok.log.fieldName +# Copy these annotations to getters, setters, with methods, builder-setters, etc. +lombok.copyableAnnotations += copy1 +# BASE/d1/d11/lombok.config (stopped bubbling): +# 7: lombok.copyableAnnotations += copy1 + Configuration for: - BASE/d1/d11/d111 @@ -50,9 +64,35 @@ lombok.accessors.prefix += m_ # BASE/d1/d11/d111/lombok.config: # 4: lombok.accessors.prefix += m_ +# Generate @javax.annotation.Generated on all generated code (default: false). Deprecated, use 'lombok.addJavaxGeneratedAnnotation' instead. +lombok.addGeneratedAnnotation = true +# BASE/archives/a1.jar!d1/include.config (imported from BASE/archives/a1.jar!lombok.config:1) (stopped bubbling): +# 4: lombok.addGeneratedAnnotation = true + +# Generate @javax.annotation.Generated on all generated code (default: follow lombok.addGeneratedAnnotation). +lombok.addJavaxGeneratedAnnotation = true +# BASE/archives/a1.jar!d2/include.config (imported from BASE/archives/a1.jar!d1/include.config:1) (stopped bubbling): +# 1: lombok.addJavaxGeneratedAnnotation = true + +# Generate @ConstructorProperties for generated constructors (default: false). +lombok.anyConstructor.addConstructorProperties = true +# BASE/archives/a1.jar!lombok.config (imported from BASE/d1/d11/d111/import1.config:4) (stopped bubbling): +# 3: lombok.anyConstructor.addConstructorProperties = true + # Use this name for the generated logger fields (default: 'log'). clear lombok.log.fieldName +# Copy these annotations to getters, setters, with methods, builder-setters, etc. +lombok.copyableAnnotations += copy2 +# BASE/d1/d11/lombok.config (stopped bubbling): +# 7: lombok.copyableAnnotations += copy1 +# +# BASE/archives/a2.zip!reset.config (imported from BASE/d1/d11/d111/lombok.config:2): +# 1: clear lombok.copyableAnnotations +# +# BASE/d1/d11/d111/lombok.config: +# 5: lombok.copyableAnnotations += copy2 + Configuration for 'BASE/d1/d12'. @@ -67,5 +107,17 @@ lombok.accessors.chain = true # Strip this field prefix, like 'f' or 'm_', from the names of generated getters and setters. clear lombok.accessors.prefix +# Generate @javax.annotation.Generated on all generated code (default: false). Deprecated, use 'lombok.addJavaxGeneratedAnnotation' instead. +clear lombok.addGeneratedAnnotation + +# Generate @javax.annotation.Generated on all generated code (default: follow lombok.addGeneratedAnnotation). +clear lombok.addJavaxGeneratedAnnotation + +# Generate @ConstructorProperties for generated constructors (default: false). +clear lombok.anyConstructor.addConstructorProperties + # Use this name for the generated logger fields (default: 'log'). -clear lombok.log.fieldName
\ No newline at end of file +clear lombok.log.fieldName + +# Copy these annotations to getters, setters, with methods, builder-setters, etc. +clear lombok.copyableAnnotations
\ No newline at end of file diff --git a/test/configuration/src/lombok/core/configuration/TestConfiguration.java b/test/configuration/src/lombok/core/configuration/TestConfiguration.java index 377276bc..22e3cfe6 100644 --- a/test/configuration/src/lombok/core/configuration/TestConfiguration.java +++ b/test/configuration/src/lombok/core/configuration/TestConfiguration.java @@ -39,8 +39,8 @@ public class TestConfiguration { @Test public void testDisplayVerbose() throws Exception { - @SuppressWarnings("unchecked") - Collection<ConfigurationKey<?>> keys = Arrays.asList(ACCESSORS_FLAG_USAGE, ACCESSORS_CHAIN, ACCESSORS_PREFIX, LOG_ANY_FIELD_NAME); + @SuppressWarnings(value = {"unchecked", "deprecation"}) + Collection<ConfigurationKey<?>> keys = Arrays.asList(ACCESSORS_FLAG_USAGE, ACCESSORS_CHAIN, ACCESSORS_PREFIX, ADD_GENERATED_ANNOTATIONS, ADD_JAVAX_GENERATED_ANNOTATIONS, ANY_CONSTRUCTOR_ADD_CONSTRUCTOR_PROPERTIES, LOG_ANY_FIELD_NAME, COPYABLE_ANNOTATIONS); String baseName = "test/configuration/resource/configurationRoot/"; File directory = new File(baseName); |