aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
authorKevin Chirls <kchirls@users.noreply.github.com>2017-03-15 09:26:36 -0700
committerKevin Chirls <kchirls@users.noreply.github.com>2017-03-15 09:26:36 -0700
commitd146f362682654afd1a01c477836e72eadbd9e42 (patch)
tree5491f9510b0539fdfc2e8f188d6f1ef89c77242a /test/transform/resource/after-delombok
parentf765730526e061d39c3ecd44f37de6a7f7887cf0 (diff)
parenta2c10c70fa8e2c8736464a5c3d445e2ca6e8a296 (diff)
downloadlombok-d146f362682654afd1a01c477836e72eadbd9e42.tar.gz
lombok-d146f362682654afd1a01c477836e72eadbd9e42.tar.bz2
lombok-d146f362682654afd1a01c477836e72eadbd9e42.zip
Merge remote-tracking branch 'rzwitserloot/master'
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/Accessors.java18
-rw-r--r--test/transform/resource/after-delombok/AccessorsConfiguration.java6
-rw-r--r--test/transform/resource/after-delombok/BuilderChainAndFluent.java10
-rw-r--r--test/transform/resource/after-delombok/BuilderComplex.java15
-rw-r--r--test/transform/resource/after-delombok/BuilderInstanceMethod.java13
-rw-r--r--test/transform/resource/after-delombok/BuilderSimple.java10
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularGuavaListsSets.java28
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java20
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularLists.java18
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularNoAuto.java20
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularRedirectToGuava.java20
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularSets.java24
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularWithPrefixes.java12
-rw-r--r--test/transform/resource/after-delombok/BuilderValueData.java21
-rw-r--r--test/transform/resource/after-delombok/BuilderWithAccessors.java16
-rw-r--r--test/transform/resource/after-delombok/BuilderWithExistingBuilderClass.java10
-rw-r--r--test/transform/resource/after-delombok/BuilderWithRecursiveGenerics.java100
-rw-r--r--test/transform/resource/after-delombok/BuilderWithToBuilder.java37
-rw-r--r--test/transform/resource/after-delombok/BuilderWithTolerate.java9
-rw-r--r--test/transform/resource/after-delombok/ClassNamedAfterGetter.java1
-rw-r--r--test/transform/resource/after-delombok/CommentsInterspersed.java1
-rw-r--r--test/transform/resource/after-delombok/ConflictingStaticConstructorNames.java7
-rw-r--r--test/transform/resource/after-delombok/Constructors.java13
-rw-r--r--test/transform/resource/after-delombok/ConstructorsConfiguration.java11
-rw-r--r--test/transform/resource/after-delombok/ConstructorsWithAccessors.java1
-rw-r--r--test/transform/resource/after-delombok/DataConfiguration.java6
-rw-r--r--test/transform/resource/after-delombok/DataExtended.java9
-rw-r--r--test/transform/resource/after-delombok/DataIgnore.java8
-rw-r--r--test/transform/resource/after-delombok/DataOnEnum.java5
-rw-r--r--test/transform/resource/after-delombok/DataOnLocalClass.java25
-rw-r--r--test/transform/resource/after-delombok/DataPlain.java40
-rw-r--r--test/transform/resource/after-delombok/DataWithGetter.java12
-rw-r--r--test/transform/resource/after-delombok/DataWithGetterNone.java9
-rw-r--r--test/transform/resource/after-delombok/DelegateOnGetter.java5
-rw-r--r--test/transform/resource/after-delombok/DelegateOnGetterNone.java4
-rw-r--r--test/transform/resource/after-delombok/DelegateOnMethods.java3
-rw-r--r--test/transform/resource/after-delombok/DelegateTypesAndExcludes.java4
-rw-r--r--test/transform/resource/after-delombok/DelegateWithDeprecated.java5
-rw-r--r--test/transform/resource/after-delombok/DelegateWithVarargs.java4
-rw-r--r--test/transform/resource/after-delombok/EncodingUsAscii.java3
-rw-r--r--test/transform/resource/after-delombok/EncodingUtf8.java3
-rw-r--r--test/transform/resource/after-delombok/EqualsAndHashCode.java13
-rw-r--r--test/transform/resource/after-delombok/EqualsAndHashCodeConfigKeys1.java6
-rw-r--r--test/transform/resource/after-delombok/EqualsAndHashCodeConfigKeys2.java6
-rw-r--r--test/transform/resource/after-delombok/EqualsAndHashCodeNestedShadow.java56
-rw-r--r--test/transform/resource/after-delombok/EqualsAndHashCodeWithExistingMethods.java4
-rw-r--r--test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java5
-rw-r--r--test/transform/resource/after-delombok/EqualsAndHashcodeOfExclude.java6
-rw-r--r--test/transform/resource/after-delombok/ExtensionMethodPlain.java2
-rw-r--r--test/transform/resource/after-delombok/FieldDefaults.java2
-rw-r--r--test/transform/resource/after-delombok/FieldDefaultsNoop.java2
-rw-r--r--test/transform/resource/after-delombok/FieldDefaultsViaConfig.java2
-rw-r--r--test/transform/resource/after-delombok/FieldDefaultsViaConfigAndRequiredArgsConstructor.java3
-rw-r--r--test/transform/resource/after-delombok/GenerateSuppressFBWarnings.java4
-rw-r--r--test/transform/resource/after-delombok/GeneratedJavaxOff.java3
-rw-r--r--test/transform/resource/after-delombok/GeneratedJavaxOnLombokOn.java (renamed from test/transform/resource/after-delombok/GeneratedGlobalOffJavaxOn.java)5
-rw-r--r--test/transform/resource/after-delombok/GeneratedOff.java (renamed from test/transform/resource/after-delombok/GeneratedGlobalOff.java)4
-rw-r--r--test/transform/resource/after-delombok/GeneratedOffJavaxOn.java (renamed from test/transform/resource/after-delombok/GeneratedLombokOff.java)4
-rw-r--r--test/transform/resource/after-delombok/GeneratedOffLombokOn.java (renamed from test/transform/resource/after-delombok/GeneratedGlobalOffLombokOn.java)4
-rw-r--r--test/transform/resource/after-delombok/GetterAccessLevel.java11
-rw-r--r--test/transform/resource/after-delombok/GetterAlreadyExists.java12
-rw-r--r--test/transform/resource/after-delombok/GetterBoolean.java6
-rw-r--r--test/transform/resource/after-delombok/GetterDeprecated.java4
-rw-r--r--test/transform/resource/after-delombok/GetterEnum.java5
-rw-r--r--test/transform/resource/after-delombok/GetterLazy.java1
-rw-r--r--test/transform/resource/after-delombok/GetterLazyBoolean.java6
-rw-r--r--test/transform/resource/after-delombok/GetterLazyEahcToString.java8
-rw-r--r--test/transform/resource/after-delombok/GetterLazyInvalid.java3
-rw-r--r--test/transform/resource/after-delombok/GetterLazyNative.java9
-rw-r--r--test/transform/resource/after-delombok/GetterLazyTransient.java2
-rw-r--r--test/transform/resource/after-delombok/GetterNone.java3
-rw-r--r--test/transform/resource/after-delombok/GetterOnClass.java10
-rw-r--r--test/transform/resource/after-delombok/GetterOnMethod.java3
-rw-r--r--test/transform/resource/after-delombok/GetterOnMethodErrors.java3
-rw-r--r--test/transform/resource/after-delombok/GetterOnMethodErrors2.java8
-rw-r--r--test/transform/resource/after-delombok/GetterOnStatic.java2
-rw-r--r--test/transform/resource/after-delombok/GetterPlain.java4
-rw-r--r--test/transform/resource/after-delombok/GetterSetterJavadoc.java15
-rw-r--r--test/transform/resource/after-delombok/GetterWithDollar.java5
-rw-r--r--test/transform/resource/after-delombok/InjectField.java8
-rw-r--r--test/transform/resource/after-delombok/LoggerCommons.java5
-rw-r--r--test/transform/resource/after-delombok/LoggerConfig.java3
-rw-r--r--test/transform/resource/after-delombok/LoggerJBossLog.java6
-rw-r--r--test/transform/resource/after-delombok/LoggerJul.java5
-rw-r--r--test/transform/resource/after-delombok/LoggerLog4j.java5
-rw-r--r--test/transform/resource/after-delombok/LoggerLog4j2.java5
-rw-r--r--test/transform/resource/after-delombok/LoggerSlf4j.java6
-rw-r--r--test/transform/resource/after-delombok/LoggerSlf4jAlreadyExists.java2
-rw-r--r--test/transform/resource/after-delombok/LoggerSlf4jTypes.java5
-rw-r--r--test/transform/resource/after-delombok/LoggerSlf4jWithPackage.java2
-rw-r--r--test/transform/resource/after-delombok/LoggerXSlf4j.java5
-rw-r--r--test/transform/resource/after-delombok/MixGetterVal.java3
-rw-r--r--test/transform/resource/after-delombok/MultiFieldGetter.java6
-rw-r--r--test/transform/resource/after-delombok/NoArgsConstructorForce.java3
-rw-r--r--test/transform/resource/after-delombok/NonNullOnParameterAbstract.java2
-rw-r--r--test/transform/resource/after-delombok/NonNullPlain.java7
-rw-r--r--test/transform/resource/after-delombok/NonNullWithAlternateException.java3
-rw-r--r--test/transform/resource/after-delombok/NonNullWithSneakyThrows.java2
-rw-r--r--test/transform/resource/after-delombok/OnXJava7Style.java43
-rw-r--r--test/transform/resource/after-delombok/OnXJava8Style.java43
-rw-r--r--test/transform/resource/after-delombok/SetterAccessLevel.java7
-rw-r--r--test/transform/resource/after-delombok/SetterAlreadyExists.java4
-rw-r--r--test/transform/resource/after-delombok/SetterDeprecated.java4
-rw-r--r--test/transform/resource/after-delombok/SetterOnClass.java10
-rw-r--r--test/transform/resource/after-delombok/SetterOnMethodOnParam.java3
-rw-r--r--test/transform/resource/after-delombok/SetterOnStatic.java2
-rw-r--r--test/transform/resource/after-delombok/SetterPlain.java4
-rw-r--r--test/transform/resource/after-delombok/SetterWithDollar.java5
-rw-r--r--test/transform/resource/after-delombok/SimpleTypeResolution.java1
-rw-r--r--test/transform/resource/after-delombok/SneakyThrowsMultiple.java2
-rw-r--r--test/transform/resource/after-delombok/SneakyThrowsPlain.java2
-rw-r--r--test/transform/resource/after-delombok/SneakyThrowsSingle.java2
-rw-r--r--test/transform/resource/after-delombok/SynchronizedName.java2
-rw-r--r--test/transform/resource/after-delombok/SynchronizedNameNoSuchField.java2
-rw-r--r--test/transform/resource/after-delombok/SynchronizedNameStaticToInstanceRef.java2
-rw-r--r--test/transform/resource/after-delombok/SynchronizedPlain.java4
-rw-r--r--test/transform/resource/after-delombok/ToStringConfiguration.java7
-rw-r--r--test/transform/resource/after-delombok/ToStringInner.java6
-rw-r--r--test/transform/resource/after-delombok/ToStringPlain.java4
-rw-r--r--test/transform/resource/after-delombok/Tolerate.java5
-rw-r--r--test/transform/resource/after-delombok/TrickyTypeResolution.java1
-rw-r--r--test/transform/resource/after-delombok/UtilityClass.java6
-rw-r--r--test/transform/resource/after-delombok/UtilityClassErrors.java2
-rw-r--r--test/transform/resource/after-delombok/ValComplex.java2
-rw-r--r--test/transform/resource/after-delombok/ValDefault.java2
-rw-r--r--test/transform/resource/after-delombok/ValErrors.java2
-rw-r--r--test/transform/resource/after-delombok/ValFinal.java2
-rw-r--r--test/transform/resource/after-delombok/ValInBasicFor.java2
-rw-r--r--test/transform/resource/after-delombok/ValInFor.java2
-rw-r--r--test/transform/resource/after-delombok/ValInMultiDeclaration.java2
-rw-r--r--test/transform/resource/after-delombok/ValLambda.java2
-rw-r--r--test/transform/resource/after-delombok/ValLessSimple.java2
-rw-r--r--test/transform/resource/after-delombok/ValLub.java2
-rw-r--r--test/transform/resource/after-delombok/ValNullInit.java2
-rw-r--r--test/transform/resource/after-delombok/ValRawType.java2
-rw-r--r--test/transform/resource/after-delombok/ValWeirdTypes.java2
-rw-r--r--test/transform/resource/after-delombok/ValWithLabel.java2
-rw-r--r--test/transform/resource/after-delombok/ValueCallSuper.java5
-rw-r--r--test/transform/resource/after-delombok/ValueExperimental.java10
-rw-r--r--test/transform/resource/after-delombok/ValueExperimentalStarImport.java6
-rw-r--r--test/transform/resource/after-delombok/ValuePlain.java19
-rw-r--r--test/transform/resource/after-delombok/ValueStaticField.java6
-rw-r--r--test/transform/resource/after-delombok/VarComplex.java2
-rw-r--r--test/transform/resource/after-delombok/VarInFor.java2
-rw-r--r--test/transform/resource/after-delombok/VarInForOld.java2
-rw-r--r--test/transform/resource/after-delombok/VarModifier.java2
-rw-r--r--test/transform/resource/after-delombok/VarNullInit.java2
-rw-r--r--test/transform/resource/after-delombok/WithInnerAnnotation.java2
-rw-r--r--test/transform/resource/after-delombok/WitherAccessLevel.java7
-rw-r--r--test/transform/resource/after-delombok/WitherAlreadyExists.java4
-rw-r--r--test/transform/resource/after-delombok/WitherAndAllArgsConstructor.java5
-rw-r--r--test/transform/resource/after-delombok/WitherDeprecated.java4
-rw-r--r--test/transform/resource/after-delombok/WitherOnClass.java6
-rw-r--r--test/transform/resource/after-delombok/WitherPlain.java2
-rw-r--r--test/transform/resource/after-delombok/WitherWithAbstract.java3
-rw-r--r--test/transform/resource/after-delombok/WitherWithGenerics.java3
156 files changed, 367 insertions, 846 deletions
diff --git a/test/transform/resource/after-delombok/Accessors.java b/test/transform/resource/after-delombok/Accessors.java
index 8dee33ad..426b3863 100644
--- a/test/transform/resource/after-delombok/Accessors.java
+++ b/test/transform/resource/after-delombok/Accessors.java
@@ -2,13 +2,11 @@ class AccessorsFluent {
private String fieldName = "";
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String fieldName() {
return this.fieldName;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public AccessorsFluent fieldName(final String fieldName) {
this.fieldName = fieldName;
return this;
@@ -19,19 +17,16 @@ class AccessorsFluentOnClass {
private String otherFieldWithOverride = "";
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String fieldName() {
return this.fieldName;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getOtherFieldWithOverride() {
return this.otherFieldWithOverride;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public AccessorsFluentOnClass fieldName(final String fieldName) {
this.fieldName = fieldName;
return this;
@@ -41,7 +36,6 @@ class AccessorsChain {
private boolean isRunning;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public AccessorsChain setRunning(final boolean isRunning) {
this.isRunning = isRunning;
return this;
@@ -52,7 +46,6 @@ class AccessorsPrefix {
private String fActualField;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setActualField(final String fActualField) {
this.fActualField = fActualField;
}
@@ -62,13 +55,11 @@ class AccessorsPrefix2 {
private String fActualField;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setFieldName(final String fieldName) {
this.fieldName = fieldName;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setActualField(final String fActualField) {
this.fActualField = fActualField;
}
@@ -81,14 +72,12 @@ class AccessorsPrefix3 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "AccessorsPrefix3(fName=" + this.getName() + ")";
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof AccessorsPrefix3)) return false;
@@ -101,14 +90,12 @@ class AccessorsPrefix3 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof AccessorsPrefix3;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -121,7 +108,6 @@ class AccessorsFluentGenerics<T extends Number> {
private String name;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public AccessorsFluentGenerics<T> name(final String name) {
this.name = name;
return this;
@@ -131,7 +117,6 @@ class AccessorsFluentNoChaining {
private String name;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void name(final String name) {
this.name = name;
}
@@ -140,8 +125,7 @@ class AccessorsFluentStatic<T extends Number> {
private static String name;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static void name(final String name) {
AccessorsFluentStatic.name = name;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/AccessorsConfiguration.java b/test/transform/resource/after-delombok/AccessorsConfiguration.java
index f98b7939..0094c55c 100644
--- a/test/transform/resource/after-delombok/AccessorsConfiguration.java
+++ b/test/transform/resource/after-delombok/AccessorsConfiguration.java
@@ -2,13 +2,11 @@ class AccessorsConfiguration {
private String m_FieldName = "";
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String fieldName() {
return this.m_FieldName;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void fieldName(final String m_FieldName) {
this.m_FieldName = m_FieldName;
}
@@ -17,7 +15,6 @@ class AccessorsConfiguration2 {
private String m_FieldName = "";
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setM_FieldName(final String m_FieldName) {
this.m_FieldName = m_FieldName;
}
@@ -26,9 +23,8 @@ class AccessorsConfiguration3 {
private String fFieldName = "";
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public AccessorsConfiguration3 setFieldName(final String fFieldName) {
this.fFieldName = fFieldName;
return this;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/BuilderChainAndFluent.java b/test/transform/resource/after-delombok/BuilderChainAndFluent.java
index 7a1f487e..2475a998 100644
--- a/test/transform/resource/after-delombok/BuilderChainAndFluent.java
+++ b/test/transform/resource/after-delombok/BuilderChainAndFluent.java
@@ -2,47 +2,39 @@ class BuilderChainAndFluent {
private final int yes;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderChainAndFluent(final int yes) {
this.yes = yes;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static class BuilderChainAndFluentBuilder {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private int yes;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderChainAndFluentBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setYes(final int yes) {
this.yes = yes;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderChainAndFluent build() {
return new BuilderChainAndFluent(yes);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderChainAndFluent.BuilderChainAndFluentBuilder(yes=" + this.yes + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static BuilderChainAndFluentBuilder builder() {
return new BuilderChainAndFluentBuilder();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/BuilderComplex.java b/test/transform/resource/after-delombok/BuilderComplex.java
index 15d4e25c..937628f9 100644
--- a/test/transform/resource/after-delombok/BuilderComplex.java
+++ b/test/transform/resource/after-delombok/BuilderComplex.java
@@ -4,75 +4,62 @@ class BuilderComplex {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static class VoidBuilder<T extends Number> {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private T number;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private int arg2;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private String arg3;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private BuilderComplex selfRef;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
VoidBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public VoidBuilder<T> number(final T number) {
this.number = number;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public VoidBuilder<T> arg2(final int arg2) {
this.arg2 = arg2;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public VoidBuilder<T> arg3(final String arg3) {
this.arg3 = arg3;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public VoidBuilder<T> selfRef(final BuilderComplex selfRef) {
this.selfRef = selfRef;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void execute() {
BuilderComplex.<T>testVoidWithGenerics(number, arg2, arg3, selfRef);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderComplex.VoidBuilder(number=" + this.number + ", arg2=" + this.arg2 + ", arg3=" + this.arg3 + ", selfRef=" + this.selfRef + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static <T extends Number> VoidBuilder<T> builder() {
return new VoidBuilder<T>();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/BuilderInstanceMethod.java b/test/transform/resource/after-delombok/BuilderInstanceMethod.java
index 668977ab..61e237d0 100644
--- a/test/transform/resource/after-delombok/BuilderInstanceMethod.java
+++ b/test/transform/resource/after-delombok/BuilderInstanceMethod.java
@@ -5,74 +5,61 @@ class BuilderInstanceMethod<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public class StringBuilder {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private int show;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private int yes;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private List<T> also;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private int $andMe;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
StringBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public StringBuilder show(final int show) {
this.show = show;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public StringBuilder yes(final int yes) {
this.yes = yes;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public StringBuilder also(final List<T> also) {
this.also = also;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public StringBuilder $andMe(final int $andMe) {
this.$andMe = $andMe;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String build() {
return BuilderInstanceMethod.this.create(show, yes, also, $andMe);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderInstanceMethod.StringBuilder(show=" + this.show + ", yes=" + this.yes + ", also=" + this.also + ", $andMe=" + this.$andMe + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public StringBuilder builder() {
return new StringBuilder();
}
diff --git a/test/transform/resource/after-delombok/BuilderSimple.java b/test/transform/resource/after-delombok/BuilderSimple.java
index ecf74aa3..a12ad047 100644
--- a/test/transform/resource/after-delombok/BuilderSimple.java
+++ b/test/transform/resource/after-delombok/BuilderSimple.java
@@ -6,59 +6,49 @@ class BuilderSimple<T> {
private int $butNotMe;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderSimple(final int yes, final List<T> also) {
this.yes = yes;
this.also = also;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static class BuilderSimpleBuilder<T> {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private int yes;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private List<T> also;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderSimpleBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSimpleBuilder<T> yes(final int yes) {
this.yes = yes;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSimpleBuilder<T> also(final List<T> also) {
this.also = also;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSimple<T> build() {
return new BuilderSimple<T>(yes, also);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderSimple.BuilderSimpleBuilder(yes=" + this.yes + ", also=" + this.also + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static <T> BuilderSimpleBuilder<T> builder() {
return new BuilderSimpleBuilder<T>();
}
diff --git a/test/transform/resource/after-delombok/BuilderSingularGuavaListsSets.java b/test/transform/resource/after-delombok/BuilderSingularGuavaListsSets.java
index 851fc3db..08becf6b 100644
--- a/test/transform/resource/after-delombok/BuilderSingularGuavaListsSets.java
+++ b/test/transform/resource/after-delombok/BuilderSingularGuavaListsSets.java
@@ -12,7 +12,6 @@ class BuilderSingularGuavaListsSets<T> {
private ImmutableTable<? extends Number, ? extends Number, String> users;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderSingularGuavaListsSets(final ImmutableList<T> cards, final ImmutableCollection<? extends Number> frogs, final ImmutableSet rawSet, final ImmutableSortedSet<String> passes, final ImmutableTable<? extends Number, ? extends Number, String> users) {
this.cards = cards;
this.frogs = frogs;
@@ -22,36 +21,28 @@ class BuilderSingularGuavaListsSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static class BuilderSingularGuavaListsSetsBuilder<T> {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private com.google.common.collect.ImmutableList.Builder<T> cards;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private com.google.common.collect.ImmutableList.Builder<Number> frogs;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private com.google.common.collect.ImmutableSet.Builder<java.lang.Object> rawSet;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private com.google.common.collect.ImmutableSortedSet.Builder<String> passes;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private com.google.common.collect.ImmutableTable.Builder<Number, Number, String> users;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderSingularGuavaListsSetsBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaListsSetsBuilder<T> card(final T card) {
if (this.cards == null) this.cards = com.google.common.collect.ImmutableList.builder();
this.cards.add(card);
@@ -59,7 +50,6 @@ class BuilderSingularGuavaListsSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaListsSetsBuilder<T> cards(final java.lang.Iterable<? extends T> cards) {
if (this.cards == null) this.cards = com.google.common.collect.ImmutableList.builder();
this.cards.addAll(cards);
@@ -67,14 +57,12 @@ class BuilderSingularGuavaListsSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaListsSetsBuilder<T> clearCards() {
this.cards = null;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaListsSetsBuilder<T> frog(final Number frog) {
if (this.frogs == null) this.frogs = com.google.common.collect.ImmutableList.builder();
this.frogs.add(frog);
@@ -82,7 +70,6 @@ class BuilderSingularGuavaListsSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaListsSetsBuilder<T> frogs(final java.lang.Iterable<? extends Number> frogs) {
if (this.frogs == null) this.frogs = com.google.common.collect.ImmutableList.builder();
this.frogs.addAll(frogs);
@@ -90,14 +77,12 @@ class BuilderSingularGuavaListsSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaListsSetsBuilder<T> clearFrogs() {
this.frogs = null;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaListsSetsBuilder<T> rawSet(final java.lang.Object rawSet) {
if (this.rawSet == null) this.rawSet = com.google.common.collect.ImmutableSet.builder();
this.rawSet.add(rawSet);
@@ -105,7 +90,6 @@ class BuilderSingularGuavaListsSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaListsSetsBuilder<T> rawSet(final java.lang.Iterable<?> rawSet) {
if (this.rawSet == null) this.rawSet = com.google.common.collect.ImmutableSet.builder();
this.rawSet.addAll(rawSet);
@@ -113,14 +97,12 @@ class BuilderSingularGuavaListsSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaListsSetsBuilder<T> clearRawSet() {
this.rawSet = null;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaListsSetsBuilder<T> pass(final String pass) {
if (this.passes == null) this.passes = com.google.common.collect.ImmutableSortedSet.naturalOrder();
this.passes.add(pass);
@@ -128,7 +110,6 @@ class BuilderSingularGuavaListsSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaListsSetsBuilder<T> passes(final java.lang.Iterable<? extends String> passes) {
if (this.passes == null) this.passes = com.google.common.collect.ImmutableSortedSet.naturalOrder();
this.passes.addAll(passes);
@@ -136,14 +117,12 @@ class BuilderSingularGuavaListsSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaListsSetsBuilder<T> clearPasses() {
this.passes = null;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaListsSetsBuilder<T> user(final Number rowKey, final Number columnKey, final String value) {
if (this.users == null) this.users = com.google.common.collect.ImmutableTable.builder();
this.users.put(rowKey, columnKey, value);
@@ -151,7 +130,6 @@ class BuilderSingularGuavaListsSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaListsSetsBuilder<T> users(final com.google.common.collect.Table<? extends Number, ? extends Number, ? extends String> users) {
if (this.users == null) this.users = com.google.common.collect.ImmutableTable.builder();
this.users.putAll(users);
@@ -159,14 +137,12 @@ class BuilderSingularGuavaListsSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaListsSetsBuilder<T> clearUsers() {
this.users = null;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaListsSets<T> build() {
com.google.common.collect.ImmutableList<T> cards = this.cards == null ? com.google.common.collect.ImmutableList.<T>of() : this.cards.build();
com.google.common.collect.ImmutableCollection<Number> frogs = this.frogs == null ? com.google.common.collect.ImmutableList.<Number>of() : this.frogs.build();
@@ -178,15 +154,13 @@ class BuilderSingularGuavaListsSets<T> {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderSingularGuavaListsSets.BuilderSingularGuavaListsSetsBuilder(cards=" + this.cards + ", frogs=" + this.frogs + ", rawSet=" + this.rawSet + ", passes=" + this.passes + ", users=" + this.users + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static <T> BuilderSingularGuavaListsSetsBuilder<T> builder() {
return new BuilderSingularGuavaListsSetsBuilder<T>();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java b/test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java
index 22a4a750..d6c38790 100644
--- a/test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java
+++ b/test/transform/resource/after-delombok/BuilderSingularGuavaMaps.java
@@ -8,7 +8,6 @@ class BuilderSingularGuavaMaps<K, V> {
private ImmutableBiMap rawMap;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderSingularGuavaMaps(final ImmutableMap<K, V> battleaxes, final ImmutableSortedMap<Integer, ? extends V> vertices, final ImmutableBiMap rawMap) {
this.battleaxes = battleaxes;
this.vertices = vertices;
@@ -16,28 +15,22 @@ class BuilderSingularGuavaMaps<K, V> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static class BuilderSingularGuavaMapsBuilder<K, V> {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private com.google.common.collect.ImmutableMap.Builder<K, V> battleaxes;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private com.google.common.collect.ImmutableSortedMap.Builder<Integer, V> vertices;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private com.google.common.collect.ImmutableBiMap.Builder<java.lang.Object, java.lang.Object> rawMap;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderSingularGuavaMapsBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaMapsBuilder<K, V> battleaxe(final K key, final V value) {
if (this.battleaxes == null) this.battleaxes = com.google.common.collect.ImmutableMap.builder();
this.battleaxes.put(key, value);
@@ -45,7 +38,6 @@ class BuilderSingularGuavaMaps<K, V> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaMapsBuilder<K, V> battleaxes(final java.util.Map<? extends K, ? extends V> battleaxes) {
if (this.battleaxes == null) this.battleaxes = com.google.common.collect.ImmutableMap.builder();
this.battleaxes.putAll(battleaxes);
@@ -53,14 +45,12 @@ class BuilderSingularGuavaMaps<K, V> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaMapsBuilder<K, V> clearBattleaxes() {
this.battleaxes = null;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaMapsBuilder<K, V> vertex(final Integer key, final V value) {
if (this.vertices == null) this.vertices = com.google.common.collect.ImmutableSortedMap.naturalOrder();
this.vertices.put(key, value);
@@ -68,7 +58,6 @@ class BuilderSingularGuavaMaps<K, V> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaMapsBuilder<K, V> vertices(final java.util.Map<? extends Integer, ? extends V> vertices) {
if (this.vertices == null) this.vertices = com.google.common.collect.ImmutableSortedMap.naturalOrder();
this.vertices.putAll(vertices);
@@ -76,14 +65,12 @@ class BuilderSingularGuavaMaps<K, V> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaMapsBuilder<K, V> clearVertices() {
this.vertices = null;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaMapsBuilder<K, V> rawMap(final java.lang.Object key, final java.lang.Object value) {
if (this.rawMap == null) this.rawMap = com.google.common.collect.ImmutableBiMap.builder();
this.rawMap.put(key, value);
@@ -91,7 +78,6 @@ class BuilderSingularGuavaMaps<K, V> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaMapsBuilder<K, V> rawMap(final java.util.Map<?, ?> rawMap) {
if (this.rawMap == null) this.rawMap = com.google.common.collect.ImmutableBiMap.builder();
this.rawMap.putAll(rawMap);
@@ -99,14 +85,12 @@ class BuilderSingularGuavaMaps<K, V> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaMapsBuilder<K, V> clearRawMap() {
this.rawMap = null;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularGuavaMaps<K, V> build() {
com.google.common.collect.ImmutableMap<K, V> battleaxes = this.battleaxes == null ? com.google.common.collect.ImmutableMap.<K, V>of() : this.battleaxes.build();
com.google.common.collect.ImmutableSortedMap<Integer, V> vertices = this.vertices == null ? com.google.common.collect.ImmutableSortedMap.<Integer, V>of() : this.vertices.build();
@@ -116,15 +100,13 @@ class BuilderSingularGuavaMaps<K, V> {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderSingularGuavaMaps.BuilderSingularGuavaMapsBuilder(battleaxes=" + this.battleaxes + ", vertices=" + this.vertices + ", rawMap=" + this.rawMap + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static <K, V> BuilderSingularGuavaMapsBuilder<K, V> builder() {
return new BuilderSingularGuavaMapsBuilder<K, V>();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/BuilderSingularLists.java b/test/transform/resource/after-delombok/BuilderSingularLists.java
index 03b6ced7..9b409404 100644
--- a/test/transform/resource/after-delombok/BuilderSingularLists.java
+++ b/test/transform/resource/after-delombok/BuilderSingularLists.java
@@ -7,7 +7,6 @@ class BuilderSingularLists<T> {
private List rawList;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderSingularLists(final List<T> children, final Collection<? extends Number> scarves, final List rawList) {
this.children = children;
this.scarves = scarves;
@@ -15,28 +14,22 @@ class BuilderSingularLists<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static class BuilderSingularListsBuilder<T> {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private java.util.ArrayList<T> children;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private java.util.ArrayList<Number> scarves;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private java.util.ArrayList<java.lang.Object> rawList;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderSingularListsBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularListsBuilder<T> child(final T child) {
if (this.children == null) this.children = new java.util.ArrayList<T>();
this.children.add(child);
@@ -44,7 +37,6 @@ class BuilderSingularLists<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularListsBuilder<T> children(final java.util.Collection<? extends T> children) {
if (this.children == null) this.children = new java.util.ArrayList<T>();
this.children.addAll(children);
@@ -52,14 +44,12 @@ class BuilderSingularLists<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularListsBuilder<T> clearChildren() {
if (this.children != null) this.children.clear();
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularListsBuilder<T> scarf(final Number scarf) {
if (this.scarves == null) this.scarves = new java.util.ArrayList<Number>();
this.scarves.add(scarf);
@@ -67,7 +57,6 @@ class BuilderSingularLists<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularListsBuilder<T> scarves(final java.util.Collection<? extends Number> scarves) {
if (this.scarves == null) this.scarves = new java.util.ArrayList<Number>();
this.scarves.addAll(scarves);
@@ -75,14 +64,12 @@ class BuilderSingularLists<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularListsBuilder<T> clearScarves() {
if (this.scarves != null) this.scarves.clear();
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularListsBuilder<T> rawList(final java.lang.Object rawList) {
if (this.rawList == null) this.rawList = new java.util.ArrayList<java.lang.Object>();
this.rawList.add(rawList);
@@ -90,7 +77,6 @@ class BuilderSingularLists<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularListsBuilder<T> rawList(final java.util.Collection<?> rawList) {
if (this.rawList == null) this.rawList = new java.util.ArrayList<java.lang.Object>();
this.rawList.addAll(rawList);
@@ -98,14 +84,12 @@ class BuilderSingularLists<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularListsBuilder<T> clearRawList() {
if (this.rawList != null) this.rawList.clear();
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularLists<T> build() {
java.util.List<T> children;
switch (this.children == null ? 0 : this.children.size()) {
@@ -145,14 +129,12 @@ class BuilderSingularLists<T> {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderSingularLists.BuilderSingularListsBuilder(children=" + this.children + ", scarves=" + this.scarves + ", rawList=" + this.rawList + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static <T> BuilderSingularListsBuilder<T> builder() {
return new BuilderSingularListsBuilder<T>();
}
diff --git a/test/transform/resource/after-delombok/BuilderSingularNoAuto.java b/test/transform/resource/after-delombok/BuilderSingularNoAuto.java
index 7e9e1680..71ec0c7a 100644
--- a/test/transform/resource/after-delombok/BuilderSingularNoAuto.java
+++ b/test/transform/resource/after-delombok/BuilderSingularNoAuto.java
@@ -5,7 +5,6 @@ class BuilderSingularNoAuto {
private List<String> items;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderSingularNoAuto(final List<String> things, final List<String> widgets, final List<String> items) {
this.things = things;
this.widgets = widgets;
@@ -13,28 +12,22 @@ class BuilderSingularNoAuto {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static class BuilderSingularNoAutoBuilder {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private java.util.ArrayList<String> things;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private java.util.ArrayList<String> widgets;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private java.util.ArrayList<String> items;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderSingularNoAutoBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularNoAutoBuilder things(final String things) {
if (this.things == null) this.things = new java.util.ArrayList<String>();
this.things.add(things);
@@ -42,7 +35,6 @@ class BuilderSingularNoAuto {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularNoAutoBuilder things(final java.util.Collection<? extends String> things) {
if (this.things == null) this.things = new java.util.ArrayList<String>();
this.things.addAll(things);
@@ -50,14 +42,12 @@ class BuilderSingularNoAuto {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularNoAutoBuilder clearThings() {
if (this.things != null) this.things.clear();
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularNoAutoBuilder widget(final String widget) {
if (this.widgets == null) this.widgets = new java.util.ArrayList<String>();
this.widgets.add(widget);
@@ -65,7 +55,6 @@ class BuilderSingularNoAuto {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularNoAutoBuilder widgets(final java.util.Collection<? extends String> widgets) {
if (this.widgets == null) this.widgets = new java.util.ArrayList<String>();
this.widgets.addAll(widgets);
@@ -73,14 +62,12 @@ class BuilderSingularNoAuto {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularNoAutoBuilder clearWidgets() {
if (this.widgets != null) this.widgets.clear();
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularNoAutoBuilder items(final String items) {
if (this.items == null) this.items = new java.util.ArrayList<String>();
this.items.add(items);
@@ -88,7 +75,6 @@ class BuilderSingularNoAuto {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularNoAutoBuilder items(final java.util.Collection<? extends String> items) {
if (this.items == null) this.items = new java.util.ArrayList<String>();
this.items.addAll(items);
@@ -96,14 +82,12 @@ class BuilderSingularNoAuto {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularNoAutoBuilder clearItems() {
if (this.items != null) this.items.clear();
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularNoAuto build() {
java.util.List<String> things;
switch (this.things == null ? 0 : this.things.size()) {
@@ -143,15 +127,13 @@ class BuilderSingularNoAuto {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderSingularNoAuto.BuilderSingularNoAutoBuilder(things=" + this.things + ", widgets=" + this.widgets + ", items=" + this.items + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static BuilderSingularNoAutoBuilder builder() {
return new BuilderSingularNoAutoBuilder();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/BuilderSingularRedirectToGuava.java b/test/transform/resource/after-delombok/BuilderSingularRedirectToGuava.java
index e9228db6..ff194b47 100644
--- a/test/transform/resource/after-delombok/BuilderSingularRedirectToGuava.java
+++ b/test/transform/resource/after-delombok/BuilderSingularRedirectToGuava.java
@@ -7,7 +7,6 @@ class BuilderSingularRedirectToGuava {
private Collection<Class<?>> doohickeys;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderSingularRedirectToGuava(final Set<String> dangerMice, final NavigableMap<Integer, Number> things, final Collection<Class<?>> doohickeys) {
this.dangerMice = dangerMice;
this.things = things;
@@ -15,28 +14,22 @@ class BuilderSingularRedirectToGuava {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static class BuilderSingularRedirectToGuavaBuilder {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private com.google.common.collect.ImmutableSet.Builder<String> dangerMice;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private com.google.common.collect.ImmutableSortedMap.Builder<Integer, Number> things;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private com.google.common.collect.ImmutableList.Builder<Class<?>> doohickeys;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderSingularRedirectToGuavaBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularRedirectToGuavaBuilder dangerMouse(final String dangerMouse) {
if (this.dangerMice == null) this.dangerMice = com.google.common.collect.ImmutableSet.builder();
this.dangerMice.add(dangerMouse);
@@ -44,7 +37,6 @@ class BuilderSingularRedirectToGuava {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularRedirectToGuavaBuilder dangerMice(final java.lang.Iterable<? extends String> dangerMice) {
if (this.dangerMice == null) this.dangerMice = com.google.common.collect.ImmutableSet.builder();
this.dangerMice.addAll(dangerMice);
@@ -52,14 +44,12 @@ class BuilderSingularRedirectToGuava {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularRedirectToGuavaBuilder clearDangerMice() {
this.dangerMice = null;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularRedirectToGuavaBuilder thing(final Integer key, final Number value) {
if (this.things == null) this.things = com.google.common.collect.ImmutableSortedMap.naturalOrder();
this.things.put(key, value);
@@ -67,7 +57,6 @@ class BuilderSingularRedirectToGuava {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularRedirectToGuavaBuilder things(final java.util.Map<? extends Integer, ? extends Number> things) {
if (this.things == null) this.things = com.google.common.collect.ImmutableSortedMap.naturalOrder();
this.things.putAll(things);
@@ -75,14 +64,12 @@ class BuilderSingularRedirectToGuava {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularRedirectToGuavaBuilder clearThings() {
this.things = null;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularRedirectToGuavaBuilder doohickey(final Class<?> doohickey) {
if (this.doohickeys == null) this.doohickeys = com.google.common.collect.ImmutableList.builder();
this.doohickeys.add(doohickey);
@@ -90,7 +77,6 @@ class BuilderSingularRedirectToGuava {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularRedirectToGuavaBuilder doohickeys(final java.lang.Iterable<? extends Class<?>> doohickeys) {
if (this.doohickeys == null) this.doohickeys = com.google.common.collect.ImmutableList.builder();
this.doohickeys.addAll(doohickeys);
@@ -98,14 +84,12 @@ class BuilderSingularRedirectToGuava {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularRedirectToGuavaBuilder clearDoohickeys() {
this.doohickeys = null;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularRedirectToGuava build() {
java.util.Set<String> dangerMice = this.dangerMice == null ? com.google.common.collect.ImmutableSet.<String>of() : this.dangerMice.build();
java.util.NavigableMap<Integer, Number> things = this.things == null ? com.google.common.collect.ImmutableSortedMap.<Integer, Number>of() : this.things.build();
@@ -115,15 +99,13 @@ class BuilderSingularRedirectToGuava {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderSingularRedirectToGuava.BuilderSingularRedirectToGuavaBuilder(dangerMice=" + this.dangerMice + ", things=" + this.things + ", doohickeys=" + this.doohickeys + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static BuilderSingularRedirectToGuavaBuilder builder() {
return new BuilderSingularRedirectToGuavaBuilder();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/BuilderSingularSets.java b/test/transform/resource/after-delombok/BuilderSingularSets.java
index 4c4e64e1..2461d2fd 100644
--- a/test/transform/resource/after-delombok/BuilderSingularSets.java
+++ b/test/transform/resource/after-delombok/BuilderSingularSets.java
@@ -8,7 +8,6 @@ class BuilderSingularSets<T> {
private Set<String> stringSet;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderSingularSets(final Set<T> dangerMice, final SortedSet<? extends Number> octopodes, final Set rawSet, final Set<String> stringSet) {
this.dangerMice = dangerMice;
this.octopodes = octopodes;
@@ -17,32 +16,25 @@ class BuilderSingularSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static class BuilderSingularSetsBuilder<T> {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private java.util.ArrayList<T> dangerMice;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private java.util.ArrayList<Number> octopodes;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private java.util.ArrayList<java.lang.Object> rawSet;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private java.util.ArrayList<String> stringSet;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderSingularSetsBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularSetsBuilder<T> dangerMouse(final T dangerMouse) {
if (this.dangerMice == null) this.dangerMice = new java.util.ArrayList<T>();
this.dangerMice.add(dangerMouse);
@@ -50,7 +42,6 @@ class BuilderSingularSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularSetsBuilder<T> dangerMice(final java.util.Collection<? extends T> dangerMice) {
if (this.dangerMice == null) this.dangerMice = new java.util.ArrayList<T>();
this.dangerMice.addAll(dangerMice);
@@ -58,14 +49,12 @@ class BuilderSingularSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularSetsBuilder<T> clearDangerMice() {
if (this.dangerMice != null) this.dangerMice.clear();
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularSetsBuilder<T> octopus(final Number octopus) {
if (this.octopodes == null) this.octopodes = new java.util.ArrayList<Number>();
this.octopodes.add(octopus);
@@ -73,7 +62,6 @@ class BuilderSingularSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularSetsBuilder<T> octopodes(final java.util.Collection<? extends Number> octopodes) {
if (this.octopodes == null) this.octopodes = new java.util.ArrayList<Number>();
this.octopodes.addAll(octopodes);
@@ -81,14 +69,12 @@ class BuilderSingularSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularSetsBuilder<T> clearOctopodes() {
if (this.octopodes != null) this.octopodes.clear();
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularSetsBuilder<T> rawSet(final java.lang.Object rawSet) {
if (this.rawSet == null) this.rawSet = new java.util.ArrayList<java.lang.Object>();
this.rawSet.add(rawSet);
@@ -96,7 +82,6 @@ class BuilderSingularSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularSetsBuilder<T> rawSet(final java.util.Collection<?> rawSet) {
if (this.rawSet == null) this.rawSet = new java.util.ArrayList<java.lang.Object>();
this.rawSet.addAll(rawSet);
@@ -104,14 +89,12 @@ class BuilderSingularSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularSetsBuilder<T> clearRawSet() {
if (this.rawSet != null) this.rawSet.clear();
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularSetsBuilder<T> stringSet(final String stringSet) {
if (this.stringSet == null) this.stringSet = new java.util.ArrayList<String>();
this.stringSet.add(stringSet);
@@ -119,7 +102,6 @@ class BuilderSingularSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularSetsBuilder<T> stringSet(final java.util.Collection<? extends String> stringSet) {
if (this.stringSet == null) this.stringSet = new java.util.ArrayList<String>();
this.stringSet.addAll(stringSet);
@@ -127,14 +109,12 @@ class BuilderSingularSets<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularSetsBuilder<T> clearStringSet() {
if (this.stringSet != null) this.stringSet.clear();
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularSets<T> build() {
java.util.Set<T> dangerMice;
switch (this.dangerMice == null ? 0 : this.dangerMice.size()) {
@@ -183,15 +163,13 @@ class BuilderSingularSets<T> {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderSingularSets.BuilderSingularSetsBuilder(dangerMice=" + this.dangerMice + ", octopodes=" + this.octopodes + ", rawSet=" + this.rawSet + ", stringSet=" + this.stringSet + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static <T> BuilderSingularSetsBuilder<T> builder() {
return new BuilderSingularSetsBuilder<T>();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/BuilderSingularWithPrefixes.java b/test/transform/resource/after-delombok/BuilderSingularWithPrefixes.java
index 37d05704..a6bd2f88 100644
--- a/test/transform/resource/after-delombok/BuilderSingularWithPrefixes.java
+++ b/test/transform/resource/after-delombok/BuilderSingularWithPrefixes.java
@@ -2,26 +2,21 @@ class BuilderSingularWithPrefixes {
private java.util.List<String> _elems;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderSingularWithPrefixes(final java.util.List<String> elems) {
this._elems = elems;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static class BuilderSingularWithPrefixesBuilder {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private java.util.ArrayList<String> elems;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderSingularWithPrefixesBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularWithPrefixesBuilder elem(final String elem) {
if (this.elems == null) this.elems = new java.util.ArrayList<String>();
this.elems.add(elem);
@@ -29,7 +24,6 @@ class BuilderSingularWithPrefixes {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularWithPrefixesBuilder elems(final java.util.Collection<? extends String> elems) {
if (this.elems == null) this.elems = new java.util.ArrayList<String>();
this.elems.addAll(elems);
@@ -37,14 +31,12 @@ class BuilderSingularWithPrefixes {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularWithPrefixesBuilder clearElems() {
if (this.elems != null) this.elems.clear();
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderSingularWithPrefixes build() {
java.util.List<String> elems;
switch (this.elems == null ? 0 : this.elems.size()) {
@@ -62,15 +54,13 @@ class BuilderSingularWithPrefixes {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderSingularWithPrefixes.BuilderSingularWithPrefixesBuilder(elems=" + this.elems + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static BuilderSingularWithPrefixesBuilder builder() {
return new BuilderSingularWithPrefixesBuilder();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/BuilderValueData.java b/test/transform/resource/after-delombok/BuilderValueData.java
index c8690f2a..d08c6149 100644
--- a/test/transform/resource/after-delombok/BuilderValueData.java
+++ b/test/transform/resource/after-delombok/BuilderValueData.java
@@ -3,48 +3,40 @@ final class BuilderAndValue {
private final int zero = 0;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderAndValue() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static class BuilderAndValueBuilder {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderAndValueBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderAndValue build() {
return new BuilderAndValue();
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderAndValue.BuilderAndValueBuilder()";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static BuilderAndValueBuilder builder() {
return new BuilderAndValueBuilder();
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getZero() {
return this.zero;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof BuilderAndValue)) return false;
@@ -55,7 +47,6 @@ final class BuilderAndValue {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -65,7 +56,6 @@ final class BuilderAndValue {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderAndValue(zero=" + this.getZero() + ")";
}
@@ -75,48 +65,40 @@ class BuilderAndData {
private final int zero = 0;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderAndData() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static class BuilderAndDataBuilder {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderAndDataBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderAndData build() {
return new BuilderAndData();
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderAndData.BuilderAndDataBuilder()";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static BuilderAndDataBuilder builder() {
return new BuilderAndDataBuilder();
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getZero() {
return this.zero;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof BuilderAndData)) return false;
@@ -127,14 +109,12 @@ class BuilderAndData {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof BuilderAndData;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -144,7 +124,6 @@ class BuilderAndData {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderAndData(zero=" + this.getZero() + ")";
}
diff --git a/test/transform/resource/after-delombok/BuilderWithAccessors.java b/test/transform/resource/after-delombok/BuilderWithAccessors.java
index e5504c8c..db3cc3d8 100644
--- a/test/transform/resource/after-delombok/BuilderWithAccessors.java
+++ b/test/transform/resource/after-delombok/BuilderWithAccessors.java
@@ -5,7 +5,6 @@ class BuilderWithAccessors {
private int __bar;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderWithAccessors(final int plower, final int upper, final int foo, final int _bar) {
this.plower = plower;
this.pUpper = upper;
@@ -14,75 +13,62 @@ class BuilderWithAccessors {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static class BuilderWithAccessorsBuilder {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private int plower;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private int upper;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private int foo;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private int _bar;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderWithAccessorsBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithAccessorsBuilder plower(final int plower) {
this.plower = plower;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithAccessorsBuilder upper(final int upper) {
this.upper = upper;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithAccessorsBuilder foo(final int foo) {
this.foo = foo;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithAccessorsBuilder _bar(final int _bar) {
this._bar = _bar;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithAccessors build() {
return new BuilderWithAccessors(plower, upper, foo, _bar);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderWithAccessors.BuilderWithAccessorsBuilder(plower=" + this.plower + ", upper=" + this.upper + ", foo=" + this.foo + ", _bar=" + this._bar + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static BuilderWithAccessorsBuilder builder() {
return new BuilderWithAccessorsBuilder();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/BuilderWithExistingBuilderClass.java b/test/transform/resource/after-delombok/BuilderWithExistingBuilderClass.java
index e6b09e6f..03692529 100644
--- a/test/transform/resource/after-delombok/BuilderWithExistingBuilderClass.java
+++ b/test/transform/resource/after-delombok/BuilderWithExistingBuilderClass.java
@@ -5,52 +5,44 @@ class BuilderWithExistingBuilderClass<T, K extends Number> {
public static class BuilderWithExistingBuilderClassBuilder<Z extends Number> {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private boolean arg2;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private String arg3;
private Z arg1;
public void arg2(boolean arg) {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderWithExistingBuilderClassBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithExistingBuilderClassBuilder<Z> arg1(final Z arg1) {
this.arg1 = arg1;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithExistingBuilderClassBuilder<Z> arg3(final String arg3) {
this.arg3 = arg3;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithExistingBuilderClass build() {
return BuilderWithExistingBuilderClass.<Z>staticMethod(arg1, arg2, arg3);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderWithExistingBuilderClass.BuilderWithExistingBuilderClassBuilder(arg1=" + this.arg1 + ", arg2=" + this.arg2 + ", arg3=" + this.arg3 + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static <Z extends Number> BuilderWithExistingBuilderClassBuilder<Z> builder() {
return new BuilderWithExistingBuilderClassBuilder<Z>();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/BuilderWithRecursiveGenerics.java b/test/transform/resource/after-delombok/BuilderWithRecursiveGenerics.java
new file mode 100644
index 00000000..edc1e3c6
--- /dev/null
+++ b/test/transform/resource/after-delombok/BuilderWithRecursiveGenerics.java
@@ -0,0 +1,100 @@
+import java.util.Set;
+public class BuilderWithRecursiveGenerics {
+ interface Inter<T, U extends Inter<T, U>> {
+ }
+ public static final class Test<Foo, Bar extends Set<Foo>, Quz extends Inter<Bar, Quz>> {
+ private final Foo foo;
+ private final Bar bar;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ Test(final Foo foo, final Bar bar) {
+ this.foo = foo;
+ this.bar = bar;
+ }
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public static class TestBuilder<Foo, Bar extends Set<Foo>, Quz extends Inter<Bar, Quz>> {
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ private Foo foo;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ private Bar bar;
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ TestBuilder() {
+ }
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public TestBuilder<Foo, Bar, Quz> foo(final Foo foo) {
+ this.foo = foo;
+ return this;
+ }
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public TestBuilder<Foo, Bar, Quz> bar(final Bar bar) {
+ this.bar = bar;
+ return this;
+ }
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public Test<Foo, Bar, Quz> build() {
+ return new Test<Foo, Bar, Quz>(foo, bar);
+ }
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public java.lang.String toString() {
+ return "BuilderWithRecursiveGenerics.Test.TestBuilder(foo=" + this.foo + ", bar=" + this.bar + ")";
+ }
+ }
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public static <Foo, Bar extends Set<Foo>, Quz extends Inter<Bar, Quz>> TestBuilder<Foo, Bar, Quz> builder() {
+ return new TestBuilder<Foo, Bar, Quz>();
+ }
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public Foo getFoo() {
+ return this.foo;
+ }
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public Bar getBar() {
+ return this.bar;
+ }
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public boolean equals(final java.lang.Object o) {
+ if (o == this) return true;
+ if (!(o instanceof BuilderWithRecursiveGenerics.Test)) return false;
+ final BuilderWithRecursiveGenerics.Test<?, ?, ?> other = (BuilderWithRecursiveGenerics.Test<?, ?, ?>) o;
+ final java.lang.Object this$foo = this.getFoo();
+ final java.lang.Object other$foo = other.getFoo();
+ if (this$foo == null ? other$foo != null : !this$foo.equals(other$foo)) return false;
+ final java.lang.Object this$bar = this.getBar();
+ final java.lang.Object other$bar = other.getBar();
+ if (this$bar == null ? other$bar != null : !this$bar.equals(other$bar)) return false;
+ return true;
+ }
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public int hashCode() {
+ final int PRIME = 59;
+ int result = 1;
+ final java.lang.Object $foo = this.getFoo();
+ result = result * PRIME + ($foo == null ? 43 : $foo.hashCode());
+ final java.lang.Object $bar = this.getBar();
+ result = result * PRIME + ($bar == null ? 43 : $bar.hashCode());
+ return result;
+ }
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public java.lang.String toString() {
+ return "BuilderWithRecursiveGenerics.Test(foo=" + this.getFoo() + ", bar=" + this.getBar() + ")";
+ }
+ }
+}
diff --git a/test/transform/resource/after-delombok/BuilderWithToBuilder.java b/test/transform/resource/after-delombok/BuilderWithToBuilder.java
index 052cdee8..7dfb046a 100644
--- a/test/transform/resource/after-delombok/BuilderWithToBuilder.java
+++ b/test/transform/resource/after-delombok/BuilderWithToBuilder.java
@@ -9,7 +9,6 @@ class BuilderWithToBuilder<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderWithToBuilder(final String one, final String two, final T foo, final List<T> bars) {
this.mOne = one;
this.mTwo = two;
@@ -18,53 +17,43 @@ class BuilderWithToBuilder<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static class BuilderWithToBuilderBuilder<T> {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private String one;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private String two;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private T foo;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private java.util.ArrayList<T> bars;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderWithToBuilderBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithToBuilderBuilder<T> one(final String one) {
this.one = one;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithToBuilderBuilder<T> two(final String two) {
this.two = two;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithToBuilderBuilder<T> foo(final T foo) {
this.foo = foo;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithToBuilderBuilder<T> bar(final T bar) {
if (this.bars == null) this.bars = new java.util.ArrayList<T>();
this.bars.add(bar);
@@ -72,7 +61,6 @@ class BuilderWithToBuilder<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithToBuilderBuilder<T> bars(final java.util.Collection<? extends T> bars) {
if (this.bars == null) this.bars = new java.util.ArrayList<T>();
this.bars.addAll(bars);
@@ -80,14 +68,12 @@ class BuilderWithToBuilder<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithToBuilderBuilder<T> clearBars() {
if (this.bars != null) this.bars.clear();
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithToBuilder<T> build() {
java.util.List<T> bars;
switch (this.bars == null ? 0 : this.bars.size()) {
@@ -105,20 +91,17 @@ class BuilderWithToBuilder<T> {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderWithToBuilder.BuilderWithToBuilderBuilder(one=" + this.one + ", two=" + this.two + ", foo=" + this.foo + ", bars=" + this.bars + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static <T> BuilderWithToBuilderBuilder<T> builder() {
return new BuilderWithToBuilderBuilder<T>();
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithToBuilderBuilder<T> toBuilder() {
return new BuilderWithToBuilderBuilder<T>().one(this.mOne).two(this.mTwo).foo(BuilderWithToBuilder.rrr(this)).bars(this.bars);
}
@@ -133,58 +116,48 @@ class ConstructorWithToBuilder<T> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static class ConstructorWithToBuilderBuilder<T> {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private String mOne;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private T bar;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
ConstructorWithToBuilderBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public ConstructorWithToBuilderBuilder<T> mOne(final String mOne) {
this.mOne = mOne;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public ConstructorWithToBuilderBuilder<T> bar(final T bar) {
this.bar = bar;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public ConstructorWithToBuilder<T> build() {
return new ConstructorWithToBuilder<T>(mOne, bar);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "ConstructorWithToBuilder.ConstructorWithToBuilderBuilder(mOne=" + this.mOne + ", bar=" + this.bar + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static <T> ConstructorWithToBuilderBuilder<T> builder() {
return new ConstructorWithToBuilderBuilder<T>();
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public ConstructorWithToBuilderBuilder<T> toBuilder() {
return new ConstructorWithToBuilderBuilder<T>().mOne(this.mOne).bar(this.foo);
}
@@ -201,58 +174,48 @@ class StaticWithToBuilder<T, K> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static class StaticWithToBuilderBuilder<Z> {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private String mOne;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private Z bar;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
StaticWithToBuilderBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public StaticWithToBuilderBuilder<Z> mOne(final String mOne) {
this.mOne = mOne;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public StaticWithToBuilderBuilder<Z> bar(final Z bar) {
this.bar = bar;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public StaticWithToBuilder build() {
return StaticWithToBuilder.<Z>test(mOne, bar);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "StaticWithToBuilder.StaticWithToBuilderBuilder(mOne=" + this.mOne + ", bar=" + this.bar + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static <Z> StaticWithToBuilderBuilder<Z> builder() {
return new StaticWithToBuilderBuilder<Z>();
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public StaticWithToBuilderBuilder<T> toBuilder() {
return new StaticWithToBuilderBuilder<T>().mOne(this.mOne).bar(this.foo);
}
diff --git a/test/transform/resource/after-delombok/BuilderWithTolerate.java b/test/transform/resource/after-delombok/BuilderWithTolerate.java
index decb05d3..5eff9120 100644
--- a/test/transform/resource/after-delombok/BuilderWithTolerate.java
+++ b/test/transform/resource/after-delombok/BuilderWithTolerate.java
@@ -12,7 +12,6 @@ public class BuilderWithTolerate {
public static class BuilderWithTolerateBuilder {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private int value;
@Tolerate
@@ -22,13 +21,11 @@ public class BuilderWithTolerate {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderWithTolerateBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithTolerateBuilder value(final int value) {
this.value = value;
return this;
@@ -36,7 +33,6 @@ public class BuilderWithTolerate {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public BuilderWithTolerate build() {
return new BuilderWithTolerate(value);
}
@@ -44,7 +40,6 @@ public class BuilderWithTolerate {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "BuilderWithTolerate.BuilderWithTolerateBuilder(value=" + this.value + ")";
}
@@ -52,15 +47,13 @@ public class BuilderWithTolerate {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
BuilderWithTolerate(final int value) {
this.value = value;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static BuilderWithTolerateBuilder builder() {
return new BuilderWithTolerateBuilder();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ClassNamedAfterGetter.java b/test/transform/resource/after-delombok/ClassNamedAfterGetter.java
index 5db0e37a..793ec097 100644
--- a/test/transform/resource/after-delombok/ClassNamedAfterGetter.java
+++ b/test/transform/resource/after-delombok/ClassNamedAfterGetter.java
@@ -2,7 +2,6 @@ class GetFoo {
private int foo;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getFoo() {
return this.foo;
}
diff --git a/test/transform/resource/after-delombok/CommentsInterspersed.java b/test/transform/resource/after-delombok/CommentsInterspersed.java
index 33712fea..a1da2c3d 100644
--- a/test/transform/resource/after-delombok/CommentsInterspersed.java
+++ b/test/transform/resource/after-delombok/CommentsInterspersed.java
@@ -13,7 +13,6 @@ public class CommentsInterspersed {
}-*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getTest() {
return this.test;
}
diff --git a/test/transform/resource/after-delombok/ConflictingStaticConstructorNames.java b/test/transform/resource/after-delombok/ConflictingStaticConstructorNames.java
index d8883be1..22a66c95 100644
--- a/test/transform/resource/after-delombok/ConflictingStaticConstructorNames.java
+++ b/test/transform/resource/after-delombok/ConflictingStaticConstructorNames.java
@@ -2,7 +2,6 @@ class ConflictingStaticConstructorNames {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof ConflictingStaticConstructorNames)) return false;
@@ -12,14 +11,12 @@ class ConflictingStaticConstructorNames {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof ConflictingStaticConstructorNames;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
int result = 1;
return result;
@@ -27,13 +24,11 @@ class ConflictingStaticConstructorNames {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "ConflictingStaticConstructorNames()";
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public ConflictingStaticConstructorNames() {
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/Constructors.java b/test/transform/resource/after-delombok/Constructors.java
index e3bb85ab..c138a00c 100644
--- a/test/transform/resource/after-delombok/Constructors.java
+++ b/test/transform/resource/after-delombok/Constructors.java
@@ -4,7 +4,6 @@ class RequiredArgsConstructor1 {
@java.beans.ConstructorProperties({"x"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public RequiredArgsConstructor1(final int x) {
this.x = x;
}
@@ -15,7 +14,6 @@ class RequiredArgsConstructorAccess {
@java.beans.ConstructorProperties({"x"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected RequiredArgsConstructorAccess(final int x) {
this.x = x;
}
@@ -25,13 +23,11 @@ class RequiredArgsConstructorStaticName {
String name;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private RequiredArgsConstructorStaticName(final int x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static RequiredArgsConstructorStaticName staticname(final int x) {
return new RequiredArgsConstructorStaticName(x);
}
@@ -43,7 +39,6 @@ class RequiredArgsConstructorWithAnnotations {
@Deprecated
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public RequiredArgsConstructorWithAnnotations(final int x) {
this.x = x;
}
@@ -54,7 +49,6 @@ class AllArgsConstructor1 {
@java.beans.ConstructorProperties({"x", "name"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public AllArgsConstructor1(final int x, final String name) {
this.x = x;
this.name = name;
@@ -65,7 +59,6 @@ class NoArgsConstructor1 {
String name;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public NoArgsConstructor1() {
}
}
@@ -74,13 +67,11 @@ class RequiredArgsConstructorStaticNameGenerics<T extends Number> {
String name;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private RequiredArgsConstructorStaticNameGenerics(final T x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static <T extends Number> RequiredArgsConstructorStaticNameGenerics<T> of(final T x) {
return new RequiredArgsConstructorStaticNameGenerics<T>(x);
}
@@ -90,13 +81,11 @@ class RequiredArgsConstructorStaticNameGenerics2<T extends Number> {
String name;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private RequiredArgsConstructorStaticNameGenerics2(final Class<T> x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static <T extends Number> RequiredArgsConstructorStaticNameGenerics2<T> of(final Class<T> x) {
return new RequiredArgsConstructorStaticNameGenerics2<T>(x);
}
@@ -105,7 +94,6 @@ class AllArgsConstructorPackageAccess {
final String x;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
AllArgsConstructorPackageAccess(final String x) {
this.x = x;
}
@@ -120,7 +108,6 @@ class NoArgsConstructor2 {
byte z;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public NoArgsConstructor2() {
this.x = 0;
this.y = 0.0;
diff --git a/test/transform/resource/after-delombok/ConstructorsConfiguration.java b/test/transform/resource/after-delombok/ConstructorsConfiguration.java
index 3c472c46..40189911 100644
--- a/test/transform/resource/after-delombok/ConstructorsConfiguration.java
+++ b/test/transform/resource/after-delombok/ConstructorsConfiguration.java
@@ -2,18 +2,7 @@ class ConstructorsConfiguration {
int x;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public ConstructorsConfiguration(final int x) {
this.x = x;
}
}
-class ConstructorsConfigurationExplicit {
- int x;
- @java.beans.ConstructorProperties({"x"})
- @java.lang.SuppressWarnings("all")
- @javax.annotation.Generated("lombok")
- @lombok.Generated
- public ConstructorsConfigurationExplicit(final int x) {
- this.x = x;
- }
-}
diff --git a/test/transform/resource/after-delombok/ConstructorsWithAccessors.java b/test/transform/resource/after-delombok/ConstructorsWithAccessors.java
index c5295ec7..25455943 100644
--- a/test/transform/resource/after-delombok/ConstructorsWithAccessors.java
+++ b/test/transform/resource/after-delombok/ConstructorsWithAccessors.java
@@ -7,7 +7,6 @@ class ConstructorsWithAccessors {
@java.beans.ConstructorProperties({"plower", "upper", "huh", "_huh2"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public ConstructorsWithAccessors(final int plower, final int upper, final int huh, final int _huh2) {
this.plower = plower;
this.pUpper = upper;
diff --git a/test/transform/resource/after-delombok/DataConfiguration.java b/test/transform/resource/after-delombok/DataConfiguration.java
index c4accfcc..aadb35b6 100644
--- a/test/transform/resource/after-delombok/DataConfiguration.java
+++ b/test/transform/resource/after-delombok/DataConfiguration.java
@@ -2,20 +2,17 @@ class DataConfiguration {
final int x;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public DataConfiguration(final int x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof DataConfiguration)) return false;
@@ -26,14 +23,12 @@ class DataConfiguration {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof DataConfiguration;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -43,7 +38,6 @@ class DataConfiguration {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "DataConfiguration(x=" + this.getX() + ")";
}
diff --git a/test/transform/resource/after-delombok/DataExtended.java b/test/transform/resource/after-delombok/DataExtended.java
index 27c0b44d..04f0da0b 100644
--- a/test/transform/resource/after-delombok/DataExtended.java
+++ b/test/transform/resource/after-delombok/DataExtended.java
@@ -2,25 +2,21 @@ class DataExtended {
int x;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public DataExtended() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setX(final int x) {
this.x = x;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof DataExtended)) return false;
@@ -31,14 +27,12 @@ class DataExtended {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof DataExtended;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -48,8 +42,7 @@ class DataExtended {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "DataExtended(x=" + this.x + ")";
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/DataIgnore.java b/test/transform/resource/after-delombok/DataIgnore.java
index 761ce42b..dca235d3 100644
--- a/test/transform/resource/after-delombok/DataIgnore.java
+++ b/test/transform/resource/after-delombok/DataIgnore.java
@@ -4,20 +4,17 @@ class DataIgnore {
@java.beans.ConstructorProperties({"x"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public DataIgnore(final int x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof DataIgnore)) return false;
@@ -28,14 +25,12 @@ class DataIgnore {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof DataIgnore;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -45,8 +40,7 @@ class DataIgnore {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "DataIgnore(x=" + this.getX() + ")";
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/DataOnEnum.java b/test/transform/resource/after-delombok/DataOnEnum.java
index 214bae0d..5316c022 100644
--- a/test/transform/resource/after-delombok/DataOnEnum.java
+++ b/test/transform/resource/after-delombok/DataOnEnum.java
@@ -3,21 +3,18 @@ public enum DataOnEnum {
private final String someField;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getSomeField() {
return this.someField;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "DataOnEnum(someField=" + this.getSomeField() + ")";
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private DataOnEnum(final String someField) {
this.someField = someField;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/DataOnLocalClass.java b/test/transform/resource/after-delombok/DataOnLocalClass.java
index 4ac77e5c..9fe16070 100644
--- a/test/transform/resource/after-delombok/DataOnLocalClass.java
+++ b/test/transform/resource/after-delombok/DataOnLocalClass.java
@@ -5,32 +5,27 @@ class DataOnLocalClass1 {
String name;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Local(final int x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getName() {
return this.name;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setName(final String name) {
this.name = name;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof Local)) return false;
@@ -44,14 +39,12 @@ class DataOnLocalClass1 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof Local;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -63,7 +56,6 @@ class DataOnLocalClass1 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "Local(x=" + this.getX() + ", name=" + this.getName() + ")";
}
@@ -79,7 +71,6 @@ class DataOnLocalClass2 {
String name;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public InnerLocal(@lombok.NonNull final String name) {
if (name == null) {
throw new java.lang.NullPointerException("name");
@@ -89,13 +80,11 @@ class DataOnLocalClass2 {
@lombok.NonNull
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getName() {
return this.name;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setName(@lombok.NonNull final String name) {
if (name == null) {
throw new java.lang.NullPointerException("name");
@@ -105,11 +94,10 @@ class DataOnLocalClass2 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof Local.InnerLocal)) return false;
- final InnerLocal other = (InnerLocal) o;
+ final Local.InnerLocal other = (Local.InnerLocal) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$name = this.getName();
final java.lang.Object other$name = other.getName();
@@ -118,14 +106,12 @@ class DataOnLocalClass2 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof Local.InnerLocal;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -136,27 +122,23 @@ class DataOnLocalClass2 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "Local.InnerLocal(name=" + this.getName() + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Local(final int x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof Local)) return false;
@@ -167,14 +149,12 @@ class DataOnLocalClass2 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof Local;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -184,10 +164,9 @@ class DataOnLocalClass2 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "Local(x=" + this.getX() + ")";
}
}
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/DataPlain.java b/test/transform/resource/after-delombok/DataPlain.java
index 994bdc1f..6d109653 100644
--- a/test/transform/resource/after-delombok/DataPlain.java
+++ b/test/transform/resource/after-delombok/DataPlain.java
@@ -4,32 +4,27 @@ class Data1 {
@java.beans.ConstructorProperties({"x"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Data1(final int x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getName() {
return this.name;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setName(final String name) {
this.name = name;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof Data1)) return false;
@@ -43,14 +38,12 @@ class Data1 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof Data1;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -62,7 +55,6 @@ class Data1 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "Data1(x=" + this.getX() + ", name=" + this.getName() + ")";
}
@@ -73,32 +65,27 @@ class Data2 {
@java.beans.ConstructorProperties({"x"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Data2(final int x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getName() {
return this.name;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setName(final String name) {
this.name = name;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof Data2)) return false;
@@ -112,14 +99,12 @@ class Data2 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof Data2;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -131,7 +116,6 @@ class Data2 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "Data2(x=" + this.getX() + ", name=" + this.getName() + ")";
}
@@ -142,32 +126,27 @@ final class Data3 {
@java.beans.ConstructorProperties({"x"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Data3(final int x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getName() {
return this.name;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setName(final String name) {
this.name = name;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof Data3)) return false;
@@ -181,7 +160,6 @@ final class Data3 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -193,7 +171,6 @@ final class Data3 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "Data3(x=" + this.getX() + ", name=" + this.getName() + ")";
}
@@ -204,27 +181,23 @@ final class Data4 extends java.util.Timer {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setX(final int x) {
this.x = x;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "Data4(x=" + this.getX() + ")";
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof Data4)) return false;
@@ -236,14 +209,12 @@ final class Data4 extends java.util.Timer {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof Data4;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -255,13 +226,11 @@ final class Data4 extends java.util.Timer {
class Data5 {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Data5() {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof Data5)) return false;
@@ -271,14 +240,12 @@ class Data5 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof Data5;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
int result = 1;
return result;
@@ -286,7 +253,6 @@ class Data5 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "Data5()";
}
@@ -294,13 +260,11 @@ class Data5 {
final class Data6 {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Data6() {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof Data6)) return false;
@@ -309,7 +273,6 @@ final class Data6 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
int result = 1;
return result;
@@ -317,8 +280,7 @@ final class Data6 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "Data6()";
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/DataWithGetter.java b/test/transform/resource/after-delombok/DataWithGetter.java
index c93cc10c..85e698df 100644
--- a/test/transform/resource/after-delombok/DataWithGetter.java
+++ b/test/transform/resource/after-delombok/DataWithGetter.java
@@ -5,26 +5,22 @@ class DataWithGetter {
@java.beans.ConstructorProperties({"z"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public DataWithGetter(final String z) {
this.z = z;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setX(final int x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setY(final int y) {
this.y = y;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof DataWithGetter)) return false;
@@ -39,14 +35,12 @@ class DataWithGetter {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof DataWithGetter;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -59,26 +53,22 @@ class DataWithGetter {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "DataWithGetter(x=" + this.getX() + ", y=" + this.getY() + ", z=" + this.getZ() + ")";
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getY() {
return this.y;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getZ() {
return this.z;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/DataWithGetterNone.java b/test/transform/resource/after-delombok/DataWithGetterNone.java
index dfd30639..8be06247 100644
--- a/test/transform/resource/after-delombok/DataWithGetterNone.java
+++ b/test/transform/resource/after-delombok/DataWithGetterNone.java
@@ -5,26 +5,22 @@ class DataWithGetterNone {
@java.beans.ConstructorProperties({"z"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public DataWithGetterNone(final String z) {
this.z = z;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setX(final int x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setY(final int y) {
this.y = y;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof DataWithGetterNone)) return false;
@@ -39,14 +35,12 @@ class DataWithGetterNone {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof DataWithGetterNone;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -59,8 +53,7 @@ class DataWithGetterNone {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "DataWithGetterNone(x=" + this.x + ", y=" + this.y + ", z=" + this.z + ")";
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/DelegateOnGetter.java b/test/transform/resource/after-delombok/DelegateOnGetter.java
index ae1ce320..8cb72788 100644
--- a/test/transform/resource/after-delombok/DelegateOnGetter.java
+++ b/test/transform/resource/after-delombok/DelegateOnGetter.java
@@ -6,7 +6,6 @@ class DelegateOnGetter {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Bar getBar() {
java.lang.Object value = this.bar.get();
if (value == null) {
@@ -29,14 +28,12 @@ class DelegateOnGetter {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setList(final java.util.ArrayList<java.lang.String> list) {
this.getBar().setList(list);
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getInt() {
return this.getBar().getInt();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/DelegateOnGetterNone.java b/test/transform/resource/after-delombok/DelegateOnGetterNone.java
index ee0b1ab8..49215748 100644
--- a/test/transform/resource/after-delombok/DelegateOnGetterNone.java
+++ b/test/transform/resource/after-delombok/DelegateOnGetterNone.java
@@ -6,14 +6,12 @@ class DelegateOnGetterNone {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setList(final java.util.ArrayList<java.lang.String> list) {
this.bar.setList(list);
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getInt() {
return this.bar.getInt();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/DelegateOnMethods.java b/test/transform/resource/after-delombok/DelegateOnMethods.java
index db8621bc..8028b48a 100644
--- a/test/transform/resource/after-delombok/DelegateOnMethods.java
+++ b/test/transform/resource/after-delombok/DelegateOnMethods.java
@@ -9,8 +9,7 @@ abstract class DelegateOnMethods {
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void bar(final java.util.ArrayList<java.lang.String> list) {
this.getBar().bar(list);
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/DelegateTypesAndExcludes.java b/test/transform/resource/after-delombok/DelegateTypesAndExcludes.java
index 135b351d..bc19b276 100644
--- a/test/transform/resource/after-delombok/DelegateTypesAndExcludes.java
+++ b/test/transform/resource/after-delombok/DelegateTypesAndExcludes.java
@@ -27,7 +27,6 @@ class DelegatePlain {
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void bar(final java.util.ArrayList<java.lang.String> list) {
this.bar.bar(list);
}
@@ -36,8 +35,7 @@ class DelegatePlain {
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void foo() {
this.foo.foo();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/DelegateWithDeprecated.java b/test/transform/resource/after-delombok/DelegateWithDeprecated.java
index 0f46f341..0bc89859 100644
--- a/test/transform/resource/after-delombok/DelegateWithDeprecated.java
+++ b/test/transform/resource/after-delombok/DelegateWithDeprecated.java
@@ -12,21 +12,18 @@ class DelegateWithDeprecated {
@java.lang.Deprecated
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void deprecatedAnnotation() {
this.bar.deprecatedAnnotation();
}
@java.lang.Deprecated
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void deprecatedComment() {
this.bar.deprecatedComment();
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void notDeprecated() {
this.bar.notDeprecated();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/DelegateWithVarargs.java b/test/transform/resource/after-delombok/DelegateWithVarargs.java
index 91d7d466..1d240524 100644
--- a/test/transform/resource/after-delombok/DelegateWithVarargs.java
+++ b/test/transform/resource/after-delombok/DelegateWithVarargs.java
@@ -8,25 +8,21 @@ class DelegateWithVarargs {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void justOneParameter(final int... varargs) {
this.bar.justOneParameter(varargs);
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void multipleParameters(final java.lang.String first, final int... varargs) {
this.bar.multipleParameters(first, varargs);
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void array(final int[] array) {
this.bar.array(array);
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void arrayVarargs(final int[]... arrayVarargs) {
this.bar.arrayVarargs(arrayVarargs);
}
diff --git a/test/transform/resource/after-delombok/EncodingUsAscii.java b/test/transform/resource/after-delombok/EncodingUsAscii.java
index 0134f22d..965d70b5 100644
--- a/test/transform/resource/after-delombok/EncodingUsAscii.java
+++ b/test/transform/resource/after-delombok/EncodingUsAscii.java
@@ -4,8 +4,7 @@ class EncodingUsAscii {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "EncodingUsAscii(foo\u0e51\u0e51=" + this.foo\u0e51\u0e51 + ")";
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/EncodingUtf8.java b/test/transform/resource/after-delombok/EncodingUtf8.java
index d57f1a0a..4cc5c89d 100644
--- a/test/transform/resource/after-delombok/EncodingUtf8.java
+++ b/test/transform/resource/after-delombok/EncodingUtf8.java
@@ -3,8 +3,7 @@ class EncodingUtf8 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "EncodingUtf8(foo๑๑=" + this.foo๑๑ + ")";
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/EqualsAndHashCode.java b/test/transform/resource/after-delombok/EqualsAndHashCode.java
index 858913b1..67e07d7f 100644
--- a/test/transform/resource/after-delombok/EqualsAndHashCode.java
+++ b/test/transform/resource/after-delombok/EqualsAndHashCode.java
@@ -7,7 +7,6 @@ class EqualsAndHashCode {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCode)) return false;
@@ -26,14 +25,12 @@ class EqualsAndHashCode {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof EqualsAndHashCode;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -56,7 +53,6 @@ final class EqualsAndHashCode2 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCode2)) return false;
@@ -71,7 +67,6 @@ final class EqualsAndHashCode2 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -89,7 +84,6 @@ final class EqualsAndHashCode3 extends EqualsAndHashCode {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCode3)) return false;
@@ -99,14 +93,12 @@ final class EqualsAndHashCode3 extends EqualsAndHashCode {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof EqualsAndHashCode3;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
int result = 1;
return result;
@@ -116,7 +108,6 @@ class EqualsAndHashCode4 extends EqualsAndHashCode {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCode4)) return false;
@@ -127,18 +118,16 @@ class EqualsAndHashCode4 extends EqualsAndHashCode {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof EqualsAndHashCode4;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + super.hashCode();
return result;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/EqualsAndHashCodeConfigKeys1.java b/test/transform/resource/after-delombok/EqualsAndHashCodeConfigKeys1.java
index 97da983e..449a1b2e 100644
--- a/test/transform/resource/after-delombok/EqualsAndHashCodeConfigKeys1.java
+++ b/test/transform/resource/after-delombok/EqualsAndHashCodeConfigKeys1.java
@@ -2,7 +2,6 @@ class EqualsAndHashCodeConfigKeys1Parent {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCodeConfigKeys1Parent)) return false;
@@ -12,14 +11,12 @@ class EqualsAndHashCodeConfigKeys1Parent {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof EqualsAndHashCodeConfigKeys1Parent;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
int result = 1;
return result;
@@ -30,7 +27,6 @@ class EqualsAndHashCodeConfigKeys1 extends EqualsAndHashCodeConfigKeys1Parent {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCodeConfigKeys1)) return false;
@@ -41,14 +37,12 @@ class EqualsAndHashCodeConfigKeys1 extends EqualsAndHashCodeConfigKeys1Parent {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof EqualsAndHashCodeConfigKeys1;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
diff --git a/test/transform/resource/after-delombok/EqualsAndHashCodeConfigKeys2.java b/test/transform/resource/after-delombok/EqualsAndHashCodeConfigKeys2.java
index e823b7d5..43c271fa 100644
--- a/test/transform/resource/after-delombok/EqualsAndHashCodeConfigKeys2.java
+++ b/test/transform/resource/after-delombok/EqualsAndHashCodeConfigKeys2.java
@@ -2,7 +2,6 @@ class EqualsAndHashCodeConfigKeys2Parent {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCodeConfigKeys2Parent)) return false;
@@ -12,14 +11,12 @@ class EqualsAndHashCodeConfigKeys2Parent {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof EqualsAndHashCodeConfigKeys2Parent;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
int result = 1;
return result;
@@ -30,7 +27,6 @@ class EqualsAndHashCodeConfigKeys2 extends EqualsAndHashCodeConfigKeys2Parent {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCodeConfigKeys2)) return false;
@@ -42,14 +38,12 @@ class EqualsAndHashCodeConfigKeys2 extends EqualsAndHashCodeConfigKeys2Parent {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof EqualsAndHashCodeConfigKeys2;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
diff --git a/test/transform/resource/after-delombok/EqualsAndHashCodeNestedShadow.java b/test/transform/resource/after-delombok/EqualsAndHashCodeNestedShadow.java
new file mode 100644
index 00000000..ac687d84
--- /dev/null
+++ b/test/transform/resource/after-delombok/EqualsAndHashCodeNestedShadow.java
@@ -0,0 +1,56 @@
+interface EqualsAndHashCodeNestedShadow {
+ interface Foo {
+ }
+ class Bar {
+ public static class Foo extends Bar implements EqualsAndHashCodeNestedShadow.Foo {
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public boolean equals(final java.lang.Object o) {
+ if (o == this) return true;
+ if (!(o instanceof EqualsAndHashCodeNestedShadow.Bar.Foo)) return false;
+ final EqualsAndHashCodeNestedShadow.Bar.Foo other = (EqualsAndHashCodeNestedShadow.Bar.Foo) o;
+ if (!other.canEqual((java.lang.Object) this)) return false;
+ return true;
+ }
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ protected boolean canEqual(final java.lang.Object other) {
+ return other instanceof EqualsAndHashCodeNestedShadow.Bar.Foo;
+ }
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public int hashCode() {
+ int result = 1;
+ return result;
+ }
+ }
+ }
+ class Baz {
+ public static class Foo<T> extends Bar implements EqualsAndHashCodeNestedShadow.Foo {
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public boolean equals(final java.lang.Object o) {
+ if (o == this) return true;
+ if (!(o instanceof EqualsAndHashCodeNestedShadow.Baz.Foo)) return false;
+ final EqualsAndHashCodeNestedShadow.Baz.Foo<?> other = (EqualsAndHashCodeNestedShadow.Baz.Foo<?>) o;
+ if (!other.canEqual((java.lang.Object) this)) return false;
+ return true;
+ }
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ protected boolean canEqual(final java.lang.Object other) {
+ return other instanceof EqualsAndHashCodeNestedShadow.Baz.Foo;
+ }
+ @java.lang.Override
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public int hashCode() {
+ int result = 1;
+ return result;
+ }
+ }
+ }
+}
diff --git a/test/transform/resource/after-delombok/EqualsAndHashCodeWithExistingMethods.java b/test/transform/resource/after-delombok/EqualsAndHashCodeWithExistingMethods.java
index 026a74ad..d9e4a913 100644
--- a/test/transform/resource/after-delombok/EqualsAndHashCodeWithExistingMethods.java
+++ b/test/transform/resource/after-delombok/EqualsAndHashCodeWithExistingMethods.java
@@ -18,7 +18,6 @@ final class EqualsAndHashCodeWithExistingMethods3 extends EqualsAndHashCodeWithE
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCodeWithExistingMethods3)) return false;
@@ -31,7 +30,6 @@ final class EqualsAndHashCodeWithExistingMethods3 extends EqualsAndHashCodeWithE
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -39,4 +37,4 @@ final class EqualsAndHashCodeWithExistingMethods3 extends EqualsAndHashCodeWithE
result = result * PRIME + this.x;
return result;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java b/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java
index 679ca99d..3bf4b661 100644
--- a/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java
+++ b/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java
@@ -10,7 +10,6 @@ class EqualsAndHashCodeWithOnParam {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(@Nullable final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCodeWithOnParam)) return false;
@@ -29,14 +28,12 @@ class EqualsAndHashCodeWithOnParam {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(@Nullable final java.lang.Object other) {
return other instanceof EqualsAndHashCodeWithOnParam;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -49,4 +46,4 @@ class EqualsAndHashCodeWithOnParam {
result = result * PRIME + ($b == null ? 43 : $b.hashCode());
return result;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/EqualsAndHashcodeOfExclude.java b/test/transform/resource/after-delombok/EqualsAndHashcodeOfExclude.java
index 471ee60c..8b9888e9 100644
--- a/test/transform/resource/after-delombok/EqualsAndHashcodeOfExclude.java
+++ b/test/transform/resource/after-delombok/EqualsAndHashcodeOfExclude.java
@@ -4,7 +4,6 @@ final class EqualsAndHashCodeOf {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCodeOf)) return false;
@@ -15,7 +14,6 @@ final class EqualsAndHashCodeOf {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -29,7 +27,6 @@ final class EqualsAndHashCodeExclude {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof EqualsAndHashCodeExclude)) return false;
@@ -40,11 +37,10 @@ final class EqualsAndHashCodeExclude {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
result = result * PRIME + this.x;
return result;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ExtensionMethodPlain.java b/test/transform/resource/after-delombok/ExtensionMethodPlain.java
index 707a0258..4a3cc347 100644
--- a/test/transform/resource/after-delombok/ExtensionMethodPlain.java
+++ b/test/transform/resource/after-delombok/ExtensionMethodPlain.java
@@ -14,4 +14,4 @@ class ExtensionMethodPlain {
return "" + Character.toTitleCase(in.charAt(0)) + in.substring(1).toLowerCase();
}
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/FieldDefaults.java b/test/transform/resource/after-delombok/FieldDefaults.java
index 6f866a9a..19fb9d39 100644
--- a/test/transform/resource/after-delombok/FieldDefaults.java
+++ b/test/transform/resource/after-delombok/FieldDefaults.java
@@ -10,4 +10,4 @@ class FieldDefaults2 {
static int STATIC = 3;
int x;
private int y;
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/FieldDefaultsNoop.java b/test/transform/resource/after-delombok/FieldDefaultsNoop.java
index 275fa0e7..59c377ed 100644
--- a/test/transform/resource/after-delombok/FieldDefaultsNoop.java
+++ b/test/transform/resource/after-delombok/FieldDefaultsNoop.java
@@ -1,2 +1,2 @@
class FieldDefaultsNoop {
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/FieldDefaultsViaConfig.java b/test/transform/resource/after-delombok/FieldDefaultsViaConfig.java
index 096769b6..96191005 100644
--- a/test/transform/resource/after-delombok/FieldDefaultsViaConfig.java
+++ b/test/transform/resource/after-delombok/FieldDefaultsViaConfig.java
@@ -8,4 +8,4 @@ class FieldDefaultsViaConfig1 {
class FieldDefaultsViaConfig2 {
final int x = 2;
protected final int y = 0;
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/FieldDefaultsViaConfigAndRequiredArgsConstructor.java b/test/transform/resource/after-delombok/FieldDefaultsViaConfigAndRequiredArgsConstructor.java
index 37626fb5..f92f0890 100644
--- a/test/transform/resource/after-delombok/FieldDefaultsViaConfigAndRequiredArgsConstructor.java
+++ b/test/transform/resource/after-delombok/FieldDefaultsViaConfigAndRequiredArgsConstructor.java
@@ -3,8 +3,7 @@ class FieldDefaultsViaConfigAndRequiredArgsConstructor {
@java.beans.ConstructorProperties({"x"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public FieldDefaultsViaConfigAndRequiredArgsConstructor(final int x) {
this.x = x;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GenerateSuppressFBWarnings.java b/test/transform/resource/after-delombok/GenerateSuppressFBWarnings.java
index 5ebd47f1..02c91700 100644
--- a/test/transform/resource/after-delombok/GenerateSuppressFBWarnings.java
+++ b/test/transform/resource/after-delombok/GenerateSuppressFBWarnings.java
@@ -1,10 +1,10 @@
+//VERSION 7:
class GenerateSuppressFBWarnings {
int y;
@java.lang.SuppressWarnings("all")
@edu.umd.cs.findbugs.annotations.SuppressFBWarnings(justification = "generated code")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getY() {
return this.y;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GeneratedJavaxOff.java b/test/transform/resource/after-delombok/GeneratedJavaxOff.java
index d061ccba..ca50f3d2 100644
--- a/test/transform/resource/after-delombok/GeneratedJavaxOff.java
+++ b/test/transform/resource/after-delombok/GeneratedJavaxOff.java
@@ -1,8 +1,7 @@
class GeneratedJavaxOff {
int x;
@java.lang.SuppressWarnings("all")
- @lombok.Generated
public int getX() {
return this.x;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GeneratedGlobalOffJavaxOn.java b/test/transform/resource/after-delombok/GeneratedJavaxOnLombokOn.java
index de034fe3..90fe0e3a 100644
--- a/test/transform/resource/after-delombok/GeneratedGlobalOffJavaxOn.java
+++ b/test/transform/resource/after-delombok/GeneratedJavaxOnLombokOn.java
@@ -1,8 +1,9 @@
-class GeneratedGlobalOffJavaxOn {
+class GeneratedJavaxOnLombokOn {
int x;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
+ @lombok.Generated
public int getX() {
return this.x;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GeneratedGlobalOff.java b/test/transform/resource/after-delombok/GeneratedOff.java
index 6557b715..0e4ecf7d 100644
--- a/test/transform/resource/after-delombok/GeneratedGlobalOff.java
+++ b/test/transform/resource/after-delombok/GeneratedOff.java
@@ -1,7 +1,7 @@
-class GeneratedGlobalOff {
+class GeneratedOff {
int x;
@java.lang.SuppressWarnings("all")
public int getX() {
return this.x;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GeneratedLombokOff.java b/test/transform/resource/after-delombok/GeneratedOffJavaxOn.java
index 59d146a4..05c2be09 100644
--- a/test/transform/resource/after-delombok/GeneratedLombokOff.java
+++ b/test/transform/resource/after-delombok/GeneratedOffJavaxOn.java
@@ -1,8 +1,8 @@
-class GeneratedLombokOff {
+class GeneratedOffJavaxOn {
int x;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public int getX() {
return this.x;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GeneratedGlobalOffLombokOn.java b/test/transform/resource/after-delombok/GeneratedOffLombokOn.java
index 40cfa92e..03e23d66 100644
--- a/test/transform/resource/after-delombok/GeneratedGlobalOffLombokOn.java
+++ b/test/transform/resource/after-delombok/GeneratedOffLombokOn.java
@@ -1,8 +1,8 @@
-class GeneratedGlobalOffLombokOn {
+class GeneratedOffLombokOn {
int x;
@java.lang.SuppressWarnings("all")
@lombok.Generated
public int getX() {
return this.x;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GetterAccessLevel.java b/test/transform/resource/after-delombok/GetterAccessLevel.java
index 2cb70954..31f8a59f 100644
--- a/test/transform/resource/after-delombok/GetterAccessLevel.java
+++ b/test/transform/resource/after-delombok/GetterAccessLevel.java
@@ -12,56 +12,47 @@ class GetterAccessLevel {
String value;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private boolean isPrivate() {
return this.isPrivate;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
boolean isPackage() {
return this.isPackage;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean isProtected() {
return this.isProtected;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean isPublic() {
return this.isPublic;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private String getPrivateString() {
return this.privateString;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
String getPackageString() {
return this.packageString;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected String getProtectedString() {
return this.protectedString;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getPublicString() {
return this.publicString;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getValue() {
return this.value;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GetterAlreadyExists.java b/test/transform/resource/after-delombok/GetterAlreadyExists.java
index 556ea4a8..ba2bb5e1 100644
--- a/test/transform/resource/after-delombok/GetterAlreadyExists.java
+++ b/test/transform/resource/after-delombok/GetterAlreadyExists.java
@@ -5,7 +5,6 @@ class Getter1 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean isFoo() {
return this.foo;
}
@@ -29,7 +28,6 @@ class Getter4 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getFoo() {
return this.foo;
}
@@ -41,7 +39,6 @@ class Getter5 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getFoo() {
return this.foo;
}
@@ -59,7 +56,6 @@ class Getter7 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getFoo() {
return this.foo;
}
@@ -71,7 +67,6 @@ class Getter8 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getFoo() {
return this.foo;
}
@@ -89,7 +84,6 @@ class Getter10 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean isFoo() {
return this.foo;
}
@@ -113,7 +107,6 @@ class Getter13 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getFoo() {
return this.foo;
}
@@ -125,7 +118,6 @@ class Getter14 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getFoo() {
return this.foo;
}
@@ -143,7 +135,6 @@ class Getter16 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getFoo() {
return this.foo;
}
@@ -155,7 +146,6 @@ class Getter17 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getFoo() {
return this.foo;
}
@@ -165,4 +155,4 @@ class Getter18 {
static String getFoo() {
return "";
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GetterBoolean.java b/test/transform/resource/after-delombok/GetterBoolean.java
index 567ea94d..d6347abd 100644
--- a/test/transform/resource/after-delombok/GetterBoolean.java
+++ b/test/transform/resource/after-delombok/GetterBoolean.java
@@ -4,19 +4,16 @@ class Getter {
boolean hasBaz;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean isFoo() {
return this.foo;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean isBar() {
return this.isBar;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean isHasBaz() {
return this.hasBaz;
}
@@ -28,7 +25,6 @@ class MoreGetter {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean isFoo() {
return this.foo;
}
@@ -38,4 +34,4 @@ class YetMoreGetter {
boolean getFoo() {
return true;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GetterDeprecated.java b/test/transform/resource/after-delombok/GetterDeprecated.java
index 09938d56..8bef2b6a 100644
--- a/test/transform/resource/after-delombok/GetterDeprecated.java
+++ b/test/transform/resource/after-delombok/GetterDeprecated.java
@@ -8,7 +8,6 @@ class GetterDeprecated {
@java.lang.Deprecated
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getAnnotation() {
return this.annotation;
}
@@ -18,8 +17,7 @@ class GetterDeprecated {
@java.lang.Deprecated
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getJavadoc() {
return this.javadoc;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GetterEnum.java b/test/transform/resource/after-delombok/GetterEnum.java
index a74a012a..25b5fd8b 100644
--- a/test/transform/resource/after-delombok/GetterEnum.java
+++ b/test/transform/resource/after-delombok/GetterEnum.java
@@ -4,21 +4,18 @@ enum GetterEnum {
private final String name;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private GetterEnum(final int id, final String name) {
this.id = id;
this.name = name;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getId() {
return this.id;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getName() {
return this.name;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GetterLazy.java b/test/transform/resource/after-delombok/GetterLazy.java
index a36175fe..2ea3cbf2 100644
--- a/test/transform/resource/after-delombok/GetterLazy.java
+++ b/test/transform/resource/after-delombok/GetterLazy.java
@@ -4,7 +4,6 @@ class GetterLazy {
private final java.util.concurrent.atomic.AtomicReference<java.lang.Object> fieldName = new java.util.concurrent.atomic.AtomicReference<java.lang.Object>();
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public ValueType getFieldName() {
java.lang.Object value = this.fieldName.get();
if (value == null) {
diff --git a/test/transform/resource/after-delombok/GetterLazyBoolean.java b/test/transform/resource/after-delombok/GetterLazyBoolean.java
index bb439e65..41349447 100644
--- a/test/transform/resource/after-delombok/GetterLazyBoolean.java
+++ b/test/transform/resource/after-delombok/GetterLazyBoolean.java
@@ -7,7 +7,6 @@ class GetterLazyBoolean {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof GetterLazyBoolean)) return false;
@@ -18,14 +17,12 @@ class GetterLazyBoolean {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof GetterLazyBoolean;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -35,13 +32,11 @@ class GetterLazyBoolean {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "GetterLazyBoolean(booleanValue=" + this.isBooleanValue() + ")";
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean isBooleanValue() {
java.lang.Object value = this.booleanValue.get();
if (value == null) {
@@ -58,7 +53,6 @@ class GetterLazyBoolean {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean isOtherBooleanValue() {
java.lang.Object value = this.otherBooleanValue.get();
if (value == null) {
diff --git a/test/transform/resource/after-delombok/GetterLazyEahcToString.java b/test/transform/resource/after-delombok/GetterLazyEahcToString.java
index 7995663f..495087f9 100644
--- a/test/transform/resource/after-delombok/GetterLazyEahcToString.java
+++ b/test/transform/resource/after-delombok/GetterLazyEahcToString.java
@@ -6,7 +6,6 @@ class GetterLazyEahcToString {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof GetterLazyEahcToString)) return false;
@@ -25,7 +24,6 @@ class GetterLazyEahcToString {
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof GetterLazyEahcToString;
}
@@ -33,7 +31,6 @@ class GetterLazyEahcToString {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -47,7 +44,6 @@ class GetterLazyEahcToString {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "GetterLazyEahcToString(value=" + this.getValue() + ", value2=" + this.value2 + ")";
}
@@ -56,7 +52,6 @@ class GetterLazyEahcToString {
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getValue() {
java.lang.Object value = this.value.get();
if (value == null) {
@@ -74,8 +69,7 @@ class GetterLazyEahcToString {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getValue2() {
return this.value2;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GetterLazyInvalid.java b/test/transform/resource/after-delombok/GetterLazyInvalid.java
index 2b20c3d4..9e7d5bee 100644
--- a/test/transform/resource/after-delombok/GetterLazyInvalid.java
+++ b/test/transform/resource/after-delombok/GetterLazyInvalid.java
@@ -14,7 +14,6 @@ class GetterLazyInvalidClass {
private final String fieldName = "";
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getFieldName() {
return this.fieldName;
}
@@ -24,4 +23,4 @@ class GetterLazyInvalidNoInit {
GetterLazyInvalidNoInit() {
this.fieldName = "foo";
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GetterLazyNative.java b/test/transform/resource/after-delombok/GetterLazyNative.java
index cd0e0303..0d88558d 100644
--- a/test/transform/resource/after-delombok/GetterLazyNative.java
+++ b/test/transform/resource/after-delombok/GetterLazyNative.java
@@ -10,7 +10,6 @@ class GetterLazyNative {
private final java.util.concurrent.atomic.AtomicReference<java.lang.Object> intArrayField = new java.util.concurrent.atomic.AtomicReference<java.lang.Object>();
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean isBooleanField() {
java.lang.Object value = this.booleanField.get();
if (value == null) {
@@ -27,7 +26,6 @@ class GetterLazyNative {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public byte getByteField() {
java.lang.Object value = this.byteField.get();
if (value == null) {
@@ -44,7 +42,6 @@ class GetterLazyNative {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public short getShortField() {
java.lang.Object value = this.shortField.get();
if (value == null) {
@@ -61,7 +58,6 @@ class GetterLazyNative {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getIntField() {
java.lang.Object value = this.intField.get();
if (value == null) {
@@ -78,7 +74,6 @@ class GetterLazyNative {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public long getLongField() {
java.lang.Object value = this.longField.get();
if (value == null) {
@@ -95,7 +90,6 @@ class GetterLazyNative {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public float getFloatField() {
java.lang.Object value = this.floatField.get();
if (value == null) {
@@ -112,7 +106,6 @@ class GetterLazyNative {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public double getDoubleField() {
java.lang.Object value = this.doubleField.get();
if (value == null) {
@@ -129,7 +122,6 @@ class GetterLazyNative {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public char getCharField() {
java.lang.Object value = this.charField.get();
if (value == null) {
@@ -146,7 +138,6 @@ class GetterLazyNative {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int[] getIntArrayField() {
java.lang.Object value = this.intArrayField.get();
if (value == null) {
diff --git a/test/transform/resource/after-delombok/GetterLazyTransient.java b/test/transform/resource/after-delombok/GetterLazyTransient.java
index a3327a6e..dbebad90 100644
--- a/test/transform/resource/after-delombok/GetterLazyTransient.java
+++ b/test/transform/resource/after-delombok/GetterLazyTransient.java
@@ -4,7 +4,6 @@ class GetterLazyTransient {
private final transient int nonLazyTransientField = 3;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getNonTransientField() {
java.lang.Object value = this.nonTransientField.get();
if (value == null) {
@@ -21,7 +20,6 @@ class GetterLazyTransient {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getNonLazyTransientField() {
return this.nonLazyTransientField;
}
diff --git a/test/transform/resource/after-delombok/GetterNone.java b/test/transform/resource/after-delombok/GetterNone.java
index a24b04fa..2ff386a2 100644
--- a/test/transform/resource/after-delombok/GetterNone.java
+++ b/test/transform/resource/after-delombok/GetterNone.java
@@ -3,8 +3,7 @@ class GetterNone {
int foo;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getI() {
return this.i;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GetterOnClass.java b/test/transform/resource/after-delombok/GetterOnClass.java
index a9d1280c..3a7c76a0 100644
--- a/test/transform/resource/after-delombok/GetterOnClass.java
+++ b/test/transform/resource/after-delombok/GetterOnClass.java
@@ -3,7 +3,6 @@ class GetterOnClass1 {
boolean isPublic;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean isPublic() {
return this.isPublic;
}
@@ -14,13 +13,11 @@ class GetterOnClass2 {
boolean isPackage;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean isProtected() {
return this.isProtected;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
boolean isPackage() {
return this.isPackage;
}
@@ -30,7 +27,6 @@ class GetterOnClass3 {
boolean isPackage;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
boolean isPackage() {
return this.isPackage;
}
@@ -40,7 +36,6 @@ class GetterOnClass4 {
boolean isPrivate;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private boolean isPrivate() {
return this.isPrivate;
}
@@ -50,7 +45,6 @@ class GetterOnClass5 {
boolean isPublic;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean isPublic() {
return this.isPublic;
}
@@ -61,15 +55,13 @@ class GetterOnClass6 {
String nonNull;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getCouldBeNull() {
return this.couldBeNull;
}
@lombok.NonNull
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getNonNull() {
return this.nonNull;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GetterOnMethod.java b/test/transform/resource/after-delombok/GetterOnMethod.java
index 8496e984..37ae83a4 100644
--- a/test/transform/resource/after-delombok/GetterOnMethod.java
+++ b/test/transform/resource/after-delombok/GetterOnMethod.java
@@ -7,7 +7,6 @@ class GetterOnMethod {
@Deprecated
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getI() {
return this.i;
}
@@ -15,7 +14,6 @@ class GetterOnMethod {
@Test
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getJ() {
return this.j;
}
@@ -23,7 +21,6 @@ class GetterOnMethod {
@Test
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getK() {
return this.k;
}
diff --git a/test/transform/resource/after-delombok/GetterOnMethodErrors.java b/test/transform/resource/after-delombok/GetterOnMethodErrors.java
index 55949391..b7fe82c2 100644
--- a/test/transform/resource/after-delombok/GetterOnMethodErrors.java
+++ b/test/transform/resource/after-delombok/GetterOnMethodErrors.java
@@ -4,8 +4,7 @@ class GetterOnMethodErrors {
private int test;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getTest() {
return this.test;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GetterOnMethodErrors2.java b/test/transform/resource/after-delombok/GetterOnMethodErrors2.java
index 2ef4ac8e..3114d23d 100644
--- a/test/transform/resource/after-delombok/GetterOnMethodErrors2.java
+++ b/test/transform/resource/after-delombok/GetterOnMethodErrors2.java
@@ -11,45 +11,38 @@ class GetterOnMethodErrors2 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getBad1() {
return this.bad1;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getBad2() {
return this.bad2;
}
@Deprecated
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getBad3() {
return this.bad3;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getBad4() {
return this.bad4;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getGood1() {
return this.good1;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getGood2() {
return this.good2;
}
@Deprecated
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getGood3() {
return this.good3;
}
@@ -57,7 +50,6 @@ class GetterOnMethodErrors2 {
@Test
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getGood4() {
return this.good4;
}
diff --git a/test/transform/resource/after-delombok/GetterOnStatic.java b/test/transform/resource/after-delombok/GetterOnStatic.java
index d7ddca69..34c2dba1 100644
--- a/test/transform/resource/after-delombok/GetterOnStatic.java
+++ b/test/transform/resource/after-delombok/GetterOnStatic.java
@@ -3,13 +3,11 @@ class Getter {
static int bar;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static boolean isFoo() {
return Getter.foo;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static int getBar() {
return Getter.bar;
}
diff --git a/test/transform/resource/after-delombok/GetterPlain.java b/test/transform/resource/after-delombok/GetterPlain.java
index d489d63e..9af44b04 100644
--- a/test/transform/resource/after-delombok/GetterPlain.java
+++ b/test/transform/resource/after-delombok/GetterPlain.java
@@ -3,14 +3,12 @@ class GetterPlain {
int foo;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getI() {
return this.i;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getFoo() {
return this.foo;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/GetterSetterJavadoc.java b/test/transform/resource/after-delombok/GetterSetterJavadoc.java
index 21b339e8..f156de92 100644
--- a/test/transform/resource/after-delombok/GetterSetterJavadoc.java
+++ b/test/transform/resource/after-delombok/GetterSetterJavadoc.java
@@ -5,7 +5,6 @@ class GetterSetterJavadoc1 {
private int fieldName;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public GetterSetterJavadoc1() {
}
/**
@@ -15,7 +14,6 @@ class GetterSetterJavadoc1 {
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getFieldName() {
return this.fieldName;
}
@@ -26,14 +24,12 @@ class GetterSetterJavadoc1 {
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setFieldName(final int fieldName) {
this.fieldName = fieldName;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof GetterSetterJavadoc1)) return false;
@@ -44,14 +40,12 @@ class GetterSetterJavadoc1 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof GetterSetterJavadoc1;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -61,7 +55,6 @@ class GetterSetterJavadoc1 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "GetterSetterJavadoc1(fieldName=" + this.getFieldName() + ")";
}
@@ -78,7 +71,6 @@ class GetterSetterJavadoc2 {
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getFieldName() {
return this.fieldName;
}
@@ -89,7 +81,6 @@ class GetterSetterJavadoc2 {
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setFieldName(final int fieldName) {
this.fieldName = fieldName;
}
@@ -105,7 +96,6 @@ class GetterSetterJavadoc3 {
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getFieldName() {
return this.fieldName;
}
@@ -115,7 +105,6 @@ class GetterSetterJavadoc3 {
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setFieldName(final int fieldName) {
this.fieldName = fieldName;
}
@@ -132,7 +121,6 @@ class GetterSetterJavadoc4 {
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int fieldName() {
return this.fieldName;
}
@@ -144,7 +132,6 @@ class GetterSetterJavadoc4 {
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public GetterSetterJavadoc4 fieldName(final int fieldName) {
this.fieldName = fieldName;
return this;
@@ -161,7 +148,6 @@ class GetterSetterJavadoc5 {
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int fieldName() {
return this.fieldName;
}
@@ -172,7 +158,6 @@ class GetterSetterJavadoc5 {
*/
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public GetterSetterJavadoc5 fieldName(final int fieldName) {
this.fieldName = fieldName;
return this;
diff --git a/test/transform/resource/after-delombok/GetterWithDollar.java b/test/transform/resource/after-delombok/GetterWithDollar.java
index 5ee3774f..60625e6d 100644
--- a/test/transform/resource/after-delombok/GetterWithDollar.java
+++ b/test/transform/resource/after-delombok/GetterWithDollar.java
@@ -2,7 +2,6 @@ class GetterWithDollar1 {
int $i;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int get$i() {
return this.$i;
}
@@ -12,14 +11,12 @@ class GetterWithDollar2 {
int i;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int get$i() {
return this.$i;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getI() {
return this.i;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/InjectField.java b/test/transform/resource/after-delombok/InjectField.java
index 5adc5074..9da58db4 100644
--- a/test/transform/resource/after-delombok/InjectField.java
+++ b/test/transform/resource/after-delombok/InjectField.java
@@ -7,15 +7,12 @@ enum InjectField1 {
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(InjectField1.class.getName());
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private final java.lang.Object $lock = new java.lang.Object[0];
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final java.lang.Object $LOCK = new java.lang.Object[0];
private static final String LOG_MESSAGE = "static initializer";
@@ -44,11 +41,9 @@ enum InjectField1 {
class InjectField2 {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(InjectField2.class.getName());
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private final java.lang.Object $lock = new java.lang.Object[0];
private static final String LOG_MESSAGE = "static initializer";
@@ -67,9 +62,8 @@ class InjectField2 {
class InjectField3 {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(InjectField3.class.getName());
static {
log.log(Level.FINE, "static initializer");
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/LoggerCommons.java b/test/transform/resource/after-delombok/LoggerCommons.java
index 613c8c99..3cb26794 100644
--- a/test/transform/resource/after-delombok/LoggerCommons.java
+++ b/test/transform/resource/after-delombok/LoggerCommons.java
@@ -1,18 +1,15 @@
class LoggerCommons {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LoggerCommons.class);
}
class LoggerCommonsWithImport {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LoggerCommonsWithImport.class);
}
class LoggerCommonsWithDifferentName {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog("DifferentName");
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/LoggerConfig.java b/test/transform/resource/after-delombok/LoggerConfig.java
index ab7671c6..1fa6cb2f 100644
--- a/test/transform/resource/after-delombok/LoggerConfig.java
+++ b/test/transform/resource/after-delombok/LoggerConfig.java
@@ -1,6 +1,5 @@
class LoggerWithConfig {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private final org.slf4j.Logger myLogger = org.slf4j.LoggerFactory.getLogger(LoggerWithConfig.class);
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/LoggerJBossLog.java b/test/transform/resource/after-delombok/LoggerJBossLog.java
index 2c62da68..864b39fe 100644
--- a/test/transform/resource/after-delombok/LoggerJBossLog.java
+++ b/test/transform/resource/after-delombok/LoggerJBossLog.java
@@ -1,20 +1,17 @@
class LoggerJBossLog {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.jboss.logging.Logger log = org.jboss.logging.Logger.getLogger(LoggerJBossLog.class);
}
class LoggerJBossLogWithImport {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.jboss.logging.Logger log = org.jboss.logging.Logger.getLogger(LoggerJBossLogWithImport.class);
}
class LoggerJBossLogOuter {
static class Inner {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.jboss.logging.Logger log = org.jboss.logging.Logger.getLogger(Inner.class);
}
}
@@ -22,6 +19,5 @@ class LoggerJBossLogOuter {
class LoggerJBossLogWithDifferentLoggerName {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.jboss.logging.Logger log = org.jboss.logging.Logger.getLogger("DifferentLogger");
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/LoggerJul.java b/test/transform/resource/after-delombok/LoggerJul.java
index 66bb5099..80659477 100644
--- a/test/transform/resource/after-delombok/LoggerJul.java
+++ b/test/transform/resource/after-delombok/LoggerJul.java
@@ -1,18 +1,15 @@
class LoggerJul {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LoggerJul.class.getName());
}
class LoggerJulWithImport {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LoggerJulWithImport.class.getName());
}
class LoggerJulWithDifferentName {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger("DifferentName");
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/LoggerLog4j.java b/test/transform/resource/after-delombok/LoggerLog4j.java
index e161c9fe..35c2e42c 100644
--- a/test/transform/resource/after-delombok/LoggerLog4j.java
+++ b/test/transform/resource/after-delombok/LoggerLog4j.java
@@ -1,18 +1,15 @@
class LoggerLog4j {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LoggerLog4j.class);
}
class LoggerLog4jWithImport {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LoggerLog4jWithImport.class);
}
class LoggerLog4jWithDifferentName {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger("DifferentName");
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/LoggerLog4j2.java b/test/transform/resource/after-delombok/LoggerLog4j2.java
index f0ae54db..70a09645 100644
--- a/test/transform/resource/after-delombok/LoggerLog4j2.java
+++ b/test/transform/resource/after-delombok/LoggerLog4j2.java
@@ -1,18 +1,15 @@
class LoggerLog4j2 {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger(LoggerLog4j2.class);
}
class LoggerLog4j2WithImport {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger(LoggerLog4j2WithImport.class);
}
class LoggerLog4j2WithDifferentName {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger("DifferentName");
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/LoggerSlf4j.java b/test/transform/resource/after-delombok/LoggerSlf4j.java
index 3178bd63..a00bca40 100644
--- a/test/transform/resource/after-delombok/LoggerSlf4j.java
+++ b/test/transform/resource/after-delombok/LoggerSlf4j.java
@@ -1,20 +1,17 @@
class LoggerSlf4j {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LoggerSlf4j.class);
}
class LoggerSlf4jWithImport {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LoggerSlf4jWithImport.class);
}
class LoggerSlf4jOuter {
static class Inner {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(Inner.class);
}
}
@@ -22,6 +19,5 @@ class LoggerSlf4jOuter {
class LoggerSlf4jWithDifferentLoggerName {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger("DifferentLogger");
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/LoggerSlf4jAlreadyExists.java b/test/transform/resource/after-delombok/LoggerSlf4jAlreadyExists.java
index a7cd9409..2b9e4bcb 100644
--- a/test/transform/resource/after-delombok/LoggerSlf4jAlreadyExists.java
+++ b/test/transform/resource/after-delombok/LoggerSlf4jAlreadyExists.java
@@ -1,3 +1,3 @@
class LoggerSlf4jAlreadyExists {
int log;
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/LoggerSlf4jTypes.java b/test/transform/resource/after-delombok/LoggerSlf4jTypes.java
index 0fa5615d..1a13f7a2 100644
--- a/test/transform/resource/after-delombok/LoggerSlf4jTypes.java
+++ b/test/transform/resource/after-delombok/LoggerSlf4jTypes.java
@@ -6,21 +6,18 @@ enum LoggerSlf4jTypesEnum {
;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LoggerSlf4jTypesEnum.class);
}
enum LoggerSlf4jTypesEnumWithElement {
FOO;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LoggerSlf4jTypesEnumWithElement.class);
}
interface LoggerSlf4jTypesInterfaceOuter {
class Inner {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(Inner.class);
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/LoggerSlf4jWithPackage.java b/test/transform/resource/after-delombok/LoggerSlf4jWithPackage.java
index b83a1140..8a1d543f 100644
--- a/test/transform/resource/after-delombok/LoggerSlf4jWithPackage.java
+++ b/test/transform/resource/after-delombok/LoggerSlf4jWithPackage.java
@@ -2,14 +2,12 @@ package before;
class LoggerSlf4jWithPackage {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LoggerSlf4jWithPackage.class);
}
class LoggerSlf4jWithPackageOuter {
static class Inner {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(Inner.class);
}
}
diff --git a/test/transform/resource/after-delombok/LoggerXSlf4j.java b/test/transform/resource/after-delombok/LoggerXSlf4j.java
index 7da0247c..6940d69f 100644
--- a/test/transform/resource/after-delombok/LoggerXSlf4j.java
+++ b/test/transform/resource/after-delombok/LoggerXSlf4j.java
@@ -1,18 +1,15 @@
class LoggerXSlf4j {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.slf4j.ext.XLogger log = org.slf4j.ext.XLoggerFactory.getXLogger(LoggerXSlf4j.class);
}
class LoggerXSlf4jWithImport {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.slf4j.ext.XLogger log = org.slf4j.ext.XLoggerFactory.getXLogger(LoggerXSlf4jWithImport.class);
}
class LoggerXSlf4jWithDifferentName {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final org.slf4j.ext.XLogger log = org.slf4j.ext.XLoggerFactory.getXLogger("DifferentName");
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/MixGetterVal.java b/test/transform/resource/after-delombok/MixGetterVal.java
index d5c36f39..fc178113 100644
--- a/test/transform/resource/after-delombok/MixGetterVal.java
+++ b/test/transform/resource/after-delombok/MixGetterVal.java
@@ -10,8 +10,7 @@ class MixGetterVal {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/MultiFieldGetter.java b/test/transform/resource/after-delombok/MultiFieldGetter.java
index 9d21e7f0..6488d9dc 100644
--- a/test/transform/resource/after-delombok/MultiFieldGetter.java
+++ b/test/transform/resource/after-delombok/MultiFieldGetter.java
@@ -3,13 +3,11 @@ class MultiFieldGetter {
int y;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected int getY() {
return this.y;
}
@@ -19,14 +17,12 @@ class MultiFieldGetter2 {
int y;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
int getY() {
return this.y;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/NoArgsConstructorForce.java b/test/transform/resource/after-delombok/NoArgsConstructorForce.java
index f0071a31..5b6c6357 100644
--- a/test/transform/resource/after-delombok/NoArgsConstructorForce.java
+++ b/test/transform/resource/after-delombok/NoArgsConstructorForce.java
@@ -6,10 +6,9 @@ public class NoArgsConstructorForce {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public NoArgsConstructorForce() {
this.i = null;
this.o = null;
this.fullQualifiedList = null;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/NonNullOnParameterAbstract.java b/test/transform/resource/after-delombok/NonNullOnParameterAbstract.java
index e0330bd6..62fd878a 100644
--- a/test/transform/resource/after-delombok/NonNullOnParameterAbstract.java
+++ b/test/transform/resource/after-delombok/NonNullOnParameterAbstract.java
@@ -7,4 +7,4 @@ abstract class NonNullOnParameterAbstract {
}
public abstract void test2(@lombok.NonNull String arg);
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/NonNullPlain.java b/test/transform/resource/after-delombok/NonNullPlain.java
index 46f7699d..52a80c1a 100644
--- a/test/transform/resource/after-delombok/NonNullPlain.java
+++ b/test/transform/resource/after-delombok/NonNullPlain.java
@@ -13,7 +13,6 @@ class NonNullPlain {
@java.beans.ConstructorProperties({"i", "s"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public NonNullPlain(@lombok.NonNull final int i, @lombok.NonNull final String s) {
if (s == null) {
throw new java.lang.NullPointerException("s");
@@ -24,32 +23,27 @@ class NonNullPlain {
@lombok.NonNull
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getI() {
return this.i;
}
@lombok.NonNull
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getS() {
return this.s;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Object getO() {
return this.o;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setI(@lombok.NonNull final int i) {
this.i = i;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setS(@lombok.NonNull final String s) {
if (s == null) {
throw new java.lang.NullPointerException("s");
@@ -58,7 +52,6 @@ class NonNullPlain {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setO(final Object o) {
this.o = o;
}
diff --git a/test/transform/resource/after-delombok/NonNullWithAlternateException.java b/test/transform/resource/after-delombok/NonNullWithAlternateException.java
index 1c0179c0..a5c0a2bc 100644
--- a/test/transform/resource/after-delombok/NonNullWithAlternateException.java
+++ b/test/transform/resource/after-delombok/NonNullWithAlternateException.java
@@ -9,11 +9,10 @@ public class NonNullWithAlternateException {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setTest(@lombok.NonNull final String test) {
if (test == null) {
throw new java.lang.IllegalArgumentException("test is null");
}
this.test = test;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/NonNullWithSneakyThrows.java b/test/transform/resource/after-delombok/NonNullWithSneakyThrows.java
index 91646468..97de0d8a 100644
--- a/test/transform/resource/after-delombok/NonNullWithSneakyThrows.java
+++ b/test/transform/resource/after-delombok/NonNullWithSneakyThrows.java
@@ -9,4 +9,4 @@ class NonNullWithSneakyThrows {
throw lombok.Lombok.sneakyThrow($ex);
}
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/OnXJava7Style.java b/test/transform/resource/after-delombok/OnXJava7Style.java
new file mode 100644
index 00000000..f3a58d79
--- /dev/null
+++ b/test/transform/resource/after-delombok/OnXJava7Style.java
@@ -0,0 +1,43 @@
+//version :7
+public class OnXJava7Style {
+ @interface Foo {
+ String value() default "";
+ }
+ @interface Bar {
+ String stuff() default "";
+ }
+ String a;
+ String b;
+ String c;
+ String d;
+ String e;
+ @Foo
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public String getA() {
+ return this.a;
+ }
+ @Foo
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public void setB(final String b) {
+ this.b = b;
+ }
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public void setC(@Foo("a") final String c) {
+ this.c = c;
+ }
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public void setD(@Bar(stuff = "b") final String d) {
+ this.d = d;
+ }
+ @Foo("c")
+ @Bar(stuff = "d")
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public String getE() {
+ return this.e;
+ }
+}
diff --git a/test/transform/resource/after-delombok/OnXJava8Style.java b/test/transform/resource/after-delombok/OnXJava8Style.java
new file mode 100644
index 00000000..b0ea96d6
--- /dev/null
+++ b/test/transform/resource/after-delombok/OnXJava8Style.java
@@ -0,0 +1,43 @@
+//version 8:
+public class OnXJava8Style {
+ @interface Foo {
+ String value() default "";
+ }
+ @interface Bar {
+ String stuff() default "";
+ }
+ String a;
+ String b;
+ String c;
+ String d;
+ String e;
+ @Foo
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public String getA() {
+ return this.a;
+ }
+ @Foo
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public void setB(final String b) {
+ this.b = b;
+ }
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public void setC(@Foo("a") final String c) {
+ this.c = c;
+ }
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public void setD(@Bar(stuff = "b") final String d) {
+ this.d = d;
+ }
+ @Foo("c")
+ @Bar(stuff = "d")
+ @java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
+ public String getE() {
+ return this.e;
+ }
+}
diff --git a/test/transform/resource/after-delombok/SetterAccessLevel.java b/test/transform/resource/after-delombok/SetterAccessLevel.java
index eff16797..b9f9466b 100644
--- a/test/transform/resource/after-delombok/SetterAccessLevel.java
+++ b/test/transform/resource/after-delombok/SetterAccessLevel.java
@@ -7,32 +7,27 @@ class SetterAccessLevel {
boolean value;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private void setPrivate(final boolean isPrivate) {
this.isPrivate = isPrivate;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
void setPackage(final boolean isPackage) {
this.isPackage = isPackage;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected void setProtected(final boolean isProtected) {
this.isProtected = isProtected;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setPublic(final boolean isPublic) {
this.isPublic = isPublic;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setValue(final boolean value) {
this.value = value;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/SetterAlreadyExists.java b/test/transform/resource/after-delombok/SetterAlreadyExists.java
index 5f492d07..1ff9fdcc 100644
--- a/test/transform/resource/after-delombok/SetterAlreadyExists.java
+++ b/test/transform/resource/after-delombok/SetterAlreadyExists.java
@@ -24,7 +24,6 @@ class Setter5 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setFoo(final String foo) {
this.foo = foo;
}
@@ -35,7 +34,6 @@ class Setter6 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setFoo(final String foo) {
this.foo = foo;
}
@@ -54,4 +52,4 @@ class Setter9 {
boolean isFoo;
void setFoo(boolean foo) {
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/SetterDeprecated.java b/test/transform/resource/after-delombok/SetterDeprecated.java
index 9d19d06c..115096be 100644
--- a/test/transform/resource/after-delombok/SetterDeprecated.java
+++ b/test/transform/resource/after-delombok/SetterDeprecated.java
@@ -8,7 +8,6 @@ class SetterDeprecated {
@java.lang.Deprecated
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setAnnotation(final int annotation) {
this.annotation = annotation;
}
@@ -18,8 +17,7 @@ class SetterDeprecated {
@java.lang.Deprecated
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setJavadoc(final int javadoc) {
this.javadoc = javadoc;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/SetterOnClass.java b/test/transform/resource/after-delombok/SetterOnClass.java
index 2821ed05..9c376d43 100644
--- a/test/transform/resource/after-delombok/SetterOnClass.java
+++ b/test/transform/resource/after-delombok/SetterOnClass.java
@@ -3,7 +3,6 @@ class SetterOnClass1 {
boolean isPublic;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setPublic(final boolean isPublic) {
this.isPublic = isPublic;
}
@@ -14,13 +13,11 @@ class SetterOnClass2 {
boolean isPackage;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected void setProtected(final boolean isProtected) {
this.isProtected = isProtected;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
void setPackage(final boolean isPackage) {
this.isPackage = isPackage;
}
@@ -30,7 +27,6 @@ class SetterOnClass3 {
boolean isPackage;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
void setPackage(final boolean isPackage) {
this.isPackage = isPackage;
}
@@ -40,7 +36,6 @@ class SetterOnClass4 {
boolean isPrivate;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private void setPrivate(final boolean isPrivate) {
this.isPrivate = isPrivate;
}
@@ -50,7 +45,6 @@ class SetterOnClass5 {
boolean isPublic;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setPublic(final boolean isPublic) {
this.isPublic = isPublic;
}
@@ -61,17 +55,15 @@ class SetterOnClass6 {
String nonNull;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setCouldBeNull(final String couldBeNull) {
this.couldBeNull = couldBeNull;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setNonNull(@lombok.NonNull final String nonNull) {
if (nonNull == null) {
throw new java.lang.NullPointerException("nonNull");
}
this.nonNull = nonNull;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/SetterOnMethodOnParam.java b/test/transform/resource/after-delombok/SetterOnMethodOnParam.java
index b9da6342..c166f936 100644
--- a/test/transform/resource/after-delombok/SetterOnMethodOnParam.java
+++ b/test/transform/resource/after-delombok/SetterOnMethodOnParam.java
@@ -7,7 +7,6 @@ class SetterOnMethodOnParam {
@Deprecated
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setI(final int i) {
this.i = i;
}
@@ -15,7 +14,6 @@ class SetterOnMethodOnParam {
@Test
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setJ(@Test final int j) {
this.j = j;
}
@@ -23,7 +21,6 @@ class SetterOnMethodOnParam {
@Test
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setK(@Test final int k) {
this.k = k;
}
diff --git a/test/transform/resource/after-delombok/SetterOnStatic.java b/test/transform/resource/after-delombok/SetterOnStatic.java
index 4612df2b..a1947b36 100644
--- a/test/transform/resource/after-delombok/SetterOnStatic.java
+++ b/test/transform/resource/after-delombok/SetterOnStatic.java
@@ -3,13 +3,11 @@ class Setter {
static int bar;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static void setFoo(final boolean foo) {
Setter.foo = foo;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public static void setBar(final int bar) {
Setter.bar = bar;
}
diff --git a/test/transform/resource/after-delombok/SetterPlain.java b/test/transform/resource/after-delombok/SetterPlain.java
index 3aaf89d5..19acc392 100644
--- a/test/transform/resource/after-delombok/SetterPlain.java
+++ b/test/transform/resource/after-delombok/SetterPlain.java
@@ -3,14 +3,12 @@ class SetterPlain {
int foo;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setI(final int i) {
this.i = i;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setFoo(final int foo) {
this.foo = foo;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/SetterWithDollar.java b/test/transform/resource/after-delombok/SetterWithDollar.java
index cd8b0f21..fdcbfe75 100644
--- a/test/transform/resource/after-delombok/SetterWithDollar.java
+++ b/test/transform/resource/after-delombok/SetterWithDollar.java
@@ -5,7 +5,6 @@ class SetterWithDollar1 {
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void set$i(final int $i) {
this.$i = $i;
}
@@ -18,14 +17,12 @@ class SetterWithDollar2 {
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void set$i(final int $i) {
this.$i = $i;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setI(final int i) {
this.i = i;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/SimpleTypeResolution.java b/test/transform/resource/after-delombok/SimpleTypeResolution.java
index 0360e80e..1e45bb79 100644
--- a/test/transform/resource/after-delombok/SimpleTypeResolution.java
+++ b/test/transform/resource/after-delombok/SimpleTypeResolution.java
@@ -6,7 +6,6 @@ class SimpleTypeResolutionSuccess {
private int x;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
diff --git a/test/transform/resource/after-delombok/SneakyThrowsMultiple.java b/test/transform/resource/after-delombok/SneakyThrowsMultiple.java
index 42b275c6..5faca0a1 100644
--- a/test/transform/resource/after-delombok/SneakyThrowsMultiple.java
+++ b/test/transform/resource/after-delombok/SneakyThrowsMultiple.java
@@ -42,4 +42,4 @@ class SneakyThrowsMultiple {
throw lombok.Lombok.sneakyThrow($ex);
}
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/SneakyThrowsPlain.java b/test/transform/resource/after-delombok/SneakyThrowsPlain.java
index f712ab55..86f7790c 100644
--- a/test/transform/resource/after-delombok/SneakyThrowsPlain.java
+++ b/test/transform/resource/after-delombok/SneakyThrowsPlain.java
@@ -28,4 +28,4 @@ class SneakyThrowsPlain {
throw lombok.Lombok.sneakyThrow($ex);
}
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/SneakyThrowsSingle.java b/test/transform/resource/after-delombok/SneakyThrowsSingle.java
index 8901f827..24b4566a 100644
--- a/test/transform/resource/after-delombok/SneakyThrowsSingle.java
+++ b/test/transform/resource/after-delombok/SneakyThrowsSingle.java
@@ -23,4 +23,4 @@ class SneakyThrowsSingle {
throw lombok.Lombok.sneakyThrow($ex);
}
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/SynchronizedName.java b/test/transform/resource/after-delombok/SynchronizedName.java
index ab3c0431..91fd7ea7 100644
--- a/test/transform/resource/after-delombok/SynchronizedName.java
+++ b/test/transform/resource/after-delombok/SynchronizedName.java
@@ -17,4 +17,4 @@ class SynchronizedName {
System.out.println("five");
}
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/SynchronizedNameNoSuchField.java b/test/transform/resource/after-delombok/SynchronizedNameNoSuchField.java
index d252985f..73ce25ec 100644
--- a/test/transform/resource/after-delombok/SynchronizedNameNoSuchField.java
+++ b/test/transform/resource/after-delombok/SynchronizedNameNoSuchField.java
@@ -4,4 +4,4 @@ class SynchronizedNameNoSuchField {
void test2() {
System.out.println("two");
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/SynchronizedNameStaticToInstanceRef.java b/test/transform/resource/after-delombok/SynchronizedNameStaticToInstanceRef.java
index 8441570b..effa036f 100644
--- a/test/transform/resource/after-delombok/SynchronizedNameStaticToInstanceRef.java
+++ b/test/transform/resource/after-delombok/SynchronizedNameStaticToInstanceRef.java
@@ -6,4 +6,4 @@ class SynchronizedNameStaticToInstanceRef {
System.out.println("three");
}
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/SynchronizedPlain.java b/test/transform/resource/after-delombok/SynchronizedPlain.java
index 4e9ecac1..229d261a 100644
--- a/test/transform/resource/after-delombok/SynchronizedPlain.java
+++ b/test/transform/resource/after-delombok/SynchronizedPlain.java
@@ -1,7 +1,6 @@
class SynchronizedPlain1 {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private final java.lang.Object $lock = new java.lang.Object[0];
void test() {
synchronized (this.$lock) {
@@ -17,7 +16,6 @@ class SynchronizedPlain1 {
class SynchronizedPlain2 {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private static final java.lang.Object $LOCK = new java.lang.Object[0];
static void test() {
synchronized (SynchronizedPlain2.$LOCK) {
@@ -29,4 +27,4 @@ class SynchronizedPlain2 {
System.out.println("four");
}
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ToStringConfiguration.java b/test/transform/resource/after-delombok/ToStringConfiguration.java
index 85d02c61..1baabebd 100644
--- a/test/transform/resource/after-delombok/ToStringConfiguration.java
+++ b/test/transform/resource/after-delombok/ToStringConfiguration.java
@@ -3,13 +3,11 @@ class ToStringConfiguration {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "ToStringConfiguration(" + this.x + ")";
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
@@ -19,7 +17,6 @@ class ToStringConfiguration2 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "ToStringConfiguration2(x=" + this.x + ")";
}
@@ -29,14 +26,12 @@ class ToStringConfiguration3 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "ToStringConfiguration3(" + this.getX() + ")";
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ToStringInner.java b/test/transform/resource/after-delombok/ToStringInner.java
index 095b8c05..ef14bcde 100644
--- a/test/transform/resource/after-delombok/ToStringInner.java
+++ b/test/transform/resource/after-delombok/ToStringInner.java
@@ -6,7 +6,6 @@ class ToStringOuter {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "ToStringOuter.ToStringInner(y=" + this.y + ")";
}
@@ -16,7 +15,6 @@ class ToStringOuter {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "ToStringOuter.ToStringStaticInner(y=" + this.y + ")";
}
@@ -27,7 +25,6 @@ class ToStringOuter {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "ToStringOuter.ToStringMiddle.ToStringMoreInner(name=" + this.name + ")";
}
@@ -37,8 +34,7 @@ class ToStringOuter {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "ToStringOuter(x=" + this.x + ", name=" + this.name + ")";
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ToStringPlain.java b/test/transform/resource/after-delombok/ToStringPlain.java
index 07bb0a87..bf0ef419 100644
--- a/test/transform/resource/after-delombok/ToStringPlain.java
+++ b/test/transform/resource/after-delombok/ToStringPlain.java
@@ -4,7 +4,6 @@ class ToString1 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "ToString1(x=" + this.x + ", name=" + this.name + ")";
}
@@ -15,8 +14,7 @@ class ToString2 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "ToString2(x=" + this.x + ", name=" + this.name + ")";
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/Tolerate.java b/test/transform/resource/after-delombok/Tolerate.java
index 089f732f..e56979dc 100644
--- a/test/transform/resource/after-delombok/Tolerate.java
+++ b/test/transform/resource/after-delombok/Tolerate.java
@@ -13,7 +13,6 @@ class Tolerate {
@javax.annotation.Generated("lombok")
- @lombok.Generated
public void setPattern(final Pattern pattern) {
this.pattern = pattern;
}
@@ -22,7 +21,6 @@ class Tolerate {
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Pattern getPattern() {
return this.pattern;
}
@@ -43,7 +41,6 @@ class Tolerate2 {
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Pattern getPattern() {
return this.pattern;
}
@@ -52,7 +49,6 @@ class Tolerate2 {
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Tolerate2 withPattern(final Pattern pattern) {
return this.pattern == pattern ? this : new Tolerate2(pattern);
}
@@ -60,7 +56,6 @@ class Tolerate2 {
@java.beans.ConstructorProperties({"pattern"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Tolerate2(final Pattern pattern) {
this.pattern = pattern;
}
diff --git a/test/transform/resource/after-delombok/TrickyTypeResolution.java b/test/transform/resource/after-delombok/TrickyTypeResolution.java
index 05a31da6..6badfbf4 100644
--- a/test/transform/resource/after-delombok/TrickyTypeResolution.java
+++ b/test/transform/resource/after-delombok/TrickyTypeResolution.java
@@ -15,7 +15,6 @@ class TrickySuccess {
int x;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
diff --git a/test/transform/resource/after-delombok/UtilityClass.java b/test/transform/resource/after-delombok/UtilityClass.java
index 80bb1b7c..32e47557 100644
--- a/test/transform/resource/after-delombok/UtilityClass.java
+++ b/test/transform/resource/after-delombok/UtilityClass.java
@@ -8,7 +8,6 @@ final class UtilityClass {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private UtilityClass() {
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
}
@@ -19,7 +18,6 @@ class UtilityInner {
static int member;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private InnerInnerInner() {
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
}
@@ -31,7 +29,6 @@ class UtilityInner {
static int member;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private InsideEnum() {
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
}
@@ -42,10 +39,9 @@ class UtilityInner {
static int member;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private InsideInterface() {
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");
}
}
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/UtilityClassErrors.java b/test/transform/resource/after-delombok/UtilityClassErrors.java
index 072edf91..5181b750 100644
--- a/test/transform/resource/after-delombok/UtilityClassErrors.java
+++ b/test/transform/resource/after-delombok/UtilityClassErrors.java
@@ -16,4 +16,4 @@ class UtilityClassErrors3 {
private String member;
}
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValComplex.java b/test/transform/resource/after-delombok/ValComplex.java
index 0df87fac..e0dfe1b7 100644
--- a/test/transform/resource/after-delombok/ValComplex.java
+++ b/test/transform/resource/after-delombok/ValComplex.java
@@ -17,4 +17,4 @@ public class ValComplex {
}
final java.lang.String shouldBeString = field; //Unshadowing
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValDefault.java b/test/transform/resource/after-delombok/ValDefault.java
index 8c85311b..74376dbb 100644
--- a/test/transform/resource/after-delombok/ValDefault.java
+++ b/test/transform/resource/after-delombok/ValDefault.java
@@ -5,4 +5,4 @@ interface ValDefault {
final int x = 1;
final int size = size();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValErrors.java b/test/transform/resource/after-delombok/ValErrors.java
index 770a7e95..f8365c2d 100644
--- a/test/transform/resource/after-delombok/ValErrors.java
+++ b/test/transform/resource/after-delombok/ValErrors.java
@@ -5,4 +5,4 @@ public class ValErrors {
public void arrayInitializer() {
val e = {"foo", "bar"};
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValFinal.java b/test/transform/resource/after-delombok/ValFinal.java
index d35ca713..6be08565 100644
--- a/test/transform/resource/after-delombok/ValFinal.java
+++ b/test/transform/resource/after-delombok/ValFinal.java
@@ -2,4 +2,4 @@ public class ValFinal {
public void test() {
final int x = 10;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValInBasicFor.java b/test/transform/resource/after-delombok/ValInBasicFor.java
index e21450e1..a3746b23 100644
--- a/test/transform/resource/after-delombok/ValInBasicFor.java
+++ b/test/transform/resource/after-delombok/ValInBasicFor.java
@@ -6,4 +6,4 @@ public class ValInBasicFor {
System.out.println("");
}
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValInFor.java b/test/transform/resource/after-delombok/ValInFor.java
index de75803b..5cb15e1a 100644
--- a/test/transform/resource/after-delombok/ValInFor.java
+++ b/test/transform/resource/after-delombok/ValInFor.java
@@ -6,4 +6,4 @@ public class ValInFor {
final java.lang.String shouldBeString2 = shouldBeString;
}
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValInMultiDeclaration.java b/test/transform/resource/after-delombok/ValInMultiDeclaration.java
index 32f689c7..d1074174 100644
--- a/test/transform/resource/after-delombok/ValInMultiDeclaration.java
+++ b/test/transform/resource/after-delombok/ValInMultiDeclaration.java
@@ -3,4 +3,4 @@ public class ValInMultiDeclaration {
final int x = 10;
final java.lang.String y = "";
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValLambda.java b/test/transform/resource/after-delombok/ValLambda.java
index 40b056f3..9214b490 100644
--- a/test/transform/resource/after-delombok/ValLambda.java
+++ b/test/transform/resource/after-delombok/ValLambda.java
@@ -18,4 +18,4 @@ class ValLambda {
// Runnable foo = (Runnable) ((System.currentTimeMillis() > 0) ? () -> {} : System.out::println);
// lombok.val foo = (Runnable) ((System.currentTimeMillis() > 0) ? () -> {} : System.out::println);
// }
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValLessSimple.java b/test/transform/resource/after-delombok/ValLessSimple.java
index d06c66ec..5edd5056 100644
--- a/test/transform/resource/after-delombok/ValLessSimple.java
+++ b/test/transform/resource/after-delombok/ValLessSimple.java
@@ -30,4 +30,4 @@ public class ValLessSimple {
}
}
private String field = "field";
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValLub.java b/test/transform/resource/after-delombok/ValLub.java
index d7e8f944..e0847cec 100644
--- a/test/transform/resource/after-delombok/ValLub.java
+++ b/test/transform/resource/after-delombok/ValLub.java
@@ -15,4 +15,4 @@ class ValLub {
thisShouldBeCollection.add("");
String foo = thisShouldBeCollection.iterator().next();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValNullInit.java b/test/transform/resource/after-delombok/ValNullInit.java
index f0834a63..91818083 100644
--- a/test/transform/resource/after-delombok/ValNullInit.java
+++ b/test/transform/resource/after-delombok/ValNullInit.java
@@ -2,4 +2,4 @@ class ValNullInit {
void method() {
final java.lang.Object x = null;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValRawType.java b/test/transform/resource/after-delombok/ValRawType.java
index 122eabda..2e638f98 100644
--- a/test/transform/resource/after-delombok/ValRawType.java
+++ b/test/transform/resource/after-delombok/ValRawType.java
@@ -17,4 +17,4 @@ public class ValRawType {
static class Attribute {
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValWeirdTypes.java b/test/transform/resource/after-delombok/ValWeirdTypes.java
index 996ce662..cd6ba538 100644
--- a/test/transform/resource/after-delombok/ValWeirdTypes.java
+++ b/test/transform/resource/after-delombok/ValWeirdTypes.java
@@ -54,4 +54,4 @@ public class ValWeirdTypes<Z> {
final java.lang.Object[] single = multiDimArray[0];
final int singleInt = copy[0];
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValWithLabel.java b/test/transform/resource/after-delombok/ValWithLabel.java
index 4d8eabf2..2d046e93 100644
--- a/test/transform/resource/after-delombok/ValWithLabel.java
+++ b/test/transform/resource/after-delombok/ValWithLabel.java
@@ -7,4 +7,4 @@ public class ValWithLabel {
}
}
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValueCallSuper.java b/test/transform/resource/after-delombok/ValueCallSuper.java
index 79dcead3..e0065885 100644
--- a/test/transform/resource/after-delombok/ValueCallSuper.java
+++ b/test/transform/resource/after-delombok/ValueCallSuper.java
@@ -3,13 +3,11 @@ class ValueParent {
final class ValueCallSuper extends ValueParent {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public ValueCallSuper() {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof ValueCallSuper)) return false;
@@ -20,14 +18,12 @@ final class ValueCallSuper extends ValueParent {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof ValueCallSuper;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -37,7 +33,6 @@ final class ValueCallSuper extends ValueParent {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "ValueCallSuper()";
}
diff --git a/test/transform/resource/after-delombok/ValueExperimental.java b/test/transform/resource/after-delombok/ValueExperimental.java
index 723cfe87..95803228 100644
--- a/test/transform/resource/after-delombok/ValueExperimental.java
+++ b/test/transform/resource/after-delombok/ValueExperimental.java
@@ -1,13 +1,11 @@
final class ValueExperimental1 {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public ValueExperimental1() {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof ValueExperimental1)) return false;
@@ -16,7 +14,6 @@ final class ValueExperimental1 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
int result = 1;
return result;
@@ -24,7 +21,6 @@ final class ValueExperimental1 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "ValueExperimental1()";
}
@@ -32,13 +28,11 @@ final class ValueExperimental1 {
final class ValueExperimental2 {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public ValueExperimental2() {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof ValueExperimental2)) return false;
@@ -47,7 +41,6 @@ final class ValueExperimental2 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
int result = 1;
return result;
@@ -55,8 +48,7 @@ final class ValueExperimental2 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "ValueExperimental2()";
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValueExperimentalStarImport.java b/test/transform/resource/after-delombok/ValueExperimentalStarImport.java
index add5b3d6..b3bd9db5 100644
--- a/test/transform/resource/after-delombok/ValueExperimentalStarImport.java
+++ b/test/transform/resource/after-delombok/ValueExperimentalStarImport.java
@@ -2,14 +2,12 @@ import lombok.experimental.*;
final class ValueExperimentalStarImport {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public ValueExperimentalStarImport() {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof ValueExperimentalStarImport)) return false;
@@ -18,7 +16,6 @@ final class ValueExperimentalStarImport {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
int result = 1;
return result;
@@ -26,8 +23,7 @@ final class ValueExperimentalStarImport {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "ValueExperimentalStarImport()";
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/ValuePlain.java b/test/transform/resource/after-delombok/ValuePlain.java
index f20f4aea..056cdacf 100644
--- a/test/transform/resource/after-delombok/ValuePlain.java
+++ b/test/transform/resource/after-delombok/ValuePlain.java
@@ -4,27 +4,23 @@ final class Value1 {
@java.beans.ConstructorProperties({"x", "name"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Value1(final int x, final String name) {
this.x = x;
this.name = name;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getName() {
return this.name;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof Value1)) return false;
@@ -38,7 +34,6 @@ final class Value1 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -50,7 +45,6 @@ final class Value1 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "Value1(x=" + this.getX() + ", name=" + this.getName() + ")";
}
@@ -61,27 +55,23 @@ class Value2 {
@java.beans.ConstructorProperties({"x", "name"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Value2(final int x, final String name) {
this.x = x;
this.name = name;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public String getName() {
return this.name;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof Value2)) return false;
@@ -95,14 +85,12 @@ class Value2 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof Value2;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -114,7 +102,6 @@ class Value2 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "Value2(x=" + this.getX() + ", name=" + this.getName() + ")";
}
@@ -125,27 +112,23 @@ final class Value3 {
@java.beans.ConstructorProperties({"x", "y"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Value3(final int x, final int y) {
this.x = x;
this.y = y;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int getY() {
return this.y;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof Value3)) return false;
@@ -157,7 +140,6 @@ final class Value3 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
@@ -168,7 +150,6 @@ final class Value3 {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "Value3(x=" + this.getX() + ", y=" + this.getY() + ")";
}
diff --git a/test/transform/resource/after-delombok/ValueStaticField.java b/test/transform/resource/after-delombok/ValueStaticField.java
index d5334869..7725d1ac 100644
--- a/test/transform/resource/after-delombok/ValueStaticField.java
+++ b/test/transform/resource/after-delombok/ValueStaticField.java
@@ -3,13 +3,11 @@ final class ValueStaticField {
static String PASSWORD = "Ken sent me";
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public ValueStaticField() {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof ValueStaticField)) return false;
@@ -18,7 +16,6 @@ final class ValueStaticField {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public int hashCode() {
int result = 1;
return result;
@@ -26,8 +23,7 @@ final class ValueStaticField {
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public java.lang.String toString() {
return "ValueStaticField()";
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/VarComplex.java b/test/transform/resource/after-delombok/VarComplex.java
index 10b33943..b08ad115 100644
--- a/test/transform/resource/after-delombok/VarComplex.java
+++ b/test/transform/resource/after-delombok/VarComplex.java
@@ -17,4 +17,4 @@ public class VarComplex {
}
java.lang.String shouldBeString = field; //Unshadowing
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/VarInFor.java b/test/transform/resource/after-delombok/VarInFor.java
index 363aeeff..f2e95b09 100644
--- a/test/transform/resource/after-delombok/VarInFor.java
+++ b/test/transform/resource/after-delombok/VarInFor.java
@@ -6,4 +6,4 @@ public class VarInFor {
int shouldBeInt2 = shouldBeInt;
}
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/VarInForOld.java b/test/transform/resource/after-delombok/VarInForOld.java
index bb510c0b..ddb370ef 100644
--- a/test/transform/resource/after-delombok/VarInForOld.java
+++ b/test/transform/resource/after-delombok/VarInForOld.java
@@ -4,4 +4,4 @@ public class VarInForOld {
System.out.println(i);
}
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/VarModifier.java b/test/transform/resource/after-delombok/VarModifier.java
index 9838cdf7..ba4d9362 100644
--- a/test/transform/resource/after-delombok/VarModifier.java
+++ b/test/transform/resource/after-delombok/VarModifier.java
@@ -4,4 +4,4 @@ public class VarModifier {
final char[] shouldBeFinalCharArray = field.toCharArray();
char[] shouldBeCharArray = field.toCharArray();
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/VarNullInit.java b/test/transform/resource/after-delombok/VarNullInit.java
index 8ec2ea73..ed5f8e8d 100644
--- a/test/transform/resource/after-delombok/VarNullInit.java
+++ b/test/transform/resource/after-delombok/VarNullInit.java
@@ -3,4 +3,4 @@ public class VarNullInit {
void method() {
java.lang.Object x = null;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/WithInnerAnnotation.java b/test/transform/resource/after-delombok/WithInnerAnnotation.java
index a8decfeb..1e88b226 100644
--- a/test/transform/resource/after-delombok/WithInnerAnnotation.java
+++ b/test/transform/resource/after-delombok/WithInnerAnnotation.java
@@ -2,4 +2,4 @@ class WithInnerAnnotation {
@interface Inner {
int bar() default 42;
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/WitherAccessLevel.java b/test/transform/resource/after-delombok/WitherAccessLevel.java
index b828c5c6..8cf98cec 100644
--- a/test/transform/resource/after-delombok/WitherAccessLevel.java
+++ b/test/transform/resource/after-delombok/WitherAccessLevel.java
@@ -9,32 +9,27 @@ class WitherAccessLevel {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
private WitherAccessLevel withPrivate(final boolean isPrivate) {
return this.isPrivate == isPrivate ? this : new WitherAccessLevel(this.isNone, isPrivate, this.isPackage, this.isProtected, this.isPublic, this.value);
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
WitherAccessLevel withPackage(final boolean isPackage) {
return this.isPackage == isPackage ? this : new WitherAccessLevel(this.isNone, this.isPrivate, isPackage, this.isProtected, this.isPublic, this.value);
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected WitherAccessLevel withProtected(final boolean isProtected) {
return this.isProtected == isProtected ? this : new WitherAccessLevel(this.isNone, this.isPrivate, this.isPackage, isProtected, this.isPublic, this.value);
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public WitherAccessLevel withPublic(final boolean isPublic) {
return this.isPublic == isPublic ? this : new WitherAccessLevel(this.isNone, this.isPrivate, this.isPackage, this.isProtected, isPublic, this.value);
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public WitherAccessLevel withValue(final boolean value) {
return this.value == value ? this : new WitherAccessLevel(this.isNone, this.isPrivate, this.isPackage, this.isProtected, this.isPublic, value);
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/WitherAlreadyExists.java b/test/transform/resource/after-delombok/WitherAlreadyExists.java
index 352d3f18..8f51af48 100644
--- a/test/transform/resource/after-delombok/WitherAlreadyExists.java
+++ b/test/transform/resource/after-delombok/WitherAlreadyExists.java
@@ -34,7 +34,6 @@ class Wither5 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Wither5 withFoo(final String foo) {
return this.foo == foo ? this : new Wither5(foo);
}
@@ -47,7 +46,6 @@ class Wither6 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public Wither6 withFoo(final String foo) {
return this.foo == foo ? this : new Wither6(foo);
}
@@ -72,4 +70,4 @@ class Wither9 {
}
Wither9(boolean foo) {
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/WitherAndAllArgsConstructor.java b/test/transform/resource/after-delombok/WitherAndAllArgsConstructor.java
index f285d75d..0d0d6525 100644
--- a/test/transform/resource/after-delombok/WitherAndAllArgsConstructor.java
+++ b/test/transform/resource/after-delombok/WitherAndAllArgsConstructor.java
@@ -7,7 +7,6 @@ class WitherAndAllArgsConstructor<T, J extends T, L extends java.lang.Number> {
@java.beans.ConstructorProperties({"test", "test2", "y", "z"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public WitherAndAllArgsConstructor(final J test, final java.util.List<L> test2, final int y, final int z) {
this.test = test;
this.test2 = test2;
@@ -16,14 +15,12 @@ class WitherAndAllArgsConstructor<T, J extends T, L extends java.lang.Number> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public WitherAndAllArgsConstructor<T, J, L> withTest(final J test) {
return this.test == test ? this : new WitherAndAllArgsConstructor<T, J, L>(test, this.test2, this.y, this.z);
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public WitherAndAllArgsConstructor<T, J, L> withTest2(final java.util.List<L> test2) {
return this.test2 == test2 ? this : new WitherAndAllArgsConstructor<T, J, L>(this.test, test2, this.y, this.z);
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/WitherDeprecated.java b/test/transform/resource/after-delombok/WitherDeprecated.java
index 18fb598f..409e773f 100644
--- a/test/transform/resource/after-delombok/WitherDeprecated.java
+++ b/test/transform/resource/after-delombok/WitherDeprecated.java
@@ -10,7 +10,6 @@ class WitherDeprecated {
@java.lang.Deprecated
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public WitherDeprecated withAnnotation(final int annotation) {
return this.annotation == annotation ? this : new WitherDeprecated(annotation, this.javadoc);
}
@@ -20,8 +19,7 @@ class WitherDeprecated {
@java.lang.Deprecated
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public WitherDeprecated withJavadoc(final int javadoc) {
return this.javadoc == javadoc ? this : new WitherDeprecated(this.annotation, javadoc);
}
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/WitherOnClass.java b/test/transform/resource/after-delombok/WitherOnClass.java
index 98c789e8..ae352d33 100644
--- a/test/transform/resource/after-delombok/WitherOnClass.java
+++ b/test/transform/resource/after-delombok/WitherOnClass.java
@@ -5,7 +5,6 @@ class WitherOnClass1 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public WitherOnClass1 withPublic(final boolean isPublic) {
return this.isPublic == isPublic ? this : new WitherOnClass1(this.isNone, isPublic);
}
@@ -18,13 +17,11 @@ class WitherOnClass2 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
protected WitherOnClass2 withProtected(final boolean isProtected) {
return this.isProtected == isProtected ? this : new WitherOnClass2(this.isNone, isProtected, this.isPackage);
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
WitherOnClass2 withPackage(final boolean isPackage) {
return this.isPackage == isPackage ? this : new WitherOnClass2(this.isNone, this.isProtected, isPackage);
}
@@ -37,13 +34,11 @@ class WitherOnClass3 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public WitherOnClass3 withCouldBeNull(final String couldBeNull) {
return this.couldBeNull == couldBeNull ? this : new WitherOnClass3(couldBeNull, this.nonNull);
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public WitherOnClass3 withNonNull(@lombok.NonNull final String nonNull) {
if (nonNull == null) {
throw new java.lang.NullPointerException("nonNull");
@@ -59,7 +54,6 @@ class WitherOnClass4 {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public WitherOnClass4 withY(final int fY) {
return this.fY == fY ? this : new WitherOnClass4(fY);
}
diff --git a/test/transform/resource/after-delombok/WitherPlain.java b/test/transform/resource/after-delombok/WitherPlain.java
index 3a0d42f7..548ff299 100644
--- a/test/transform/resource/after-delombok/WitherPlain.java
+++ b/test/transform/resource/after-delombok/WitherPlain.java
@@ -7,13 +7,11 @@ class WitherPlain {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public WitherPlain withI(final int i) {
return this.i == i ? this : new WitherPlain(i, this.foo);
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public WitherPlain withFoo(final int foo) {
return this.foo == foo ? this : new WitherPlain(this.i, foo);
}
diff --git a/test/transform/resource/after-delombok/WitherWithAbstract.java b/test/transform/resource/after-delombok/WitherWithAbstract.java
index 5acb8e84..7cbb1309 100644
--- a/test/transform/resource/after-delombok/WitherWithAbstract.java
+++ b/test/transform/resource/after-delombok/WitherWithAbstract.java
@@ -2,6 +2,5 @@ abstract class WitherWithAbstract {
String foo;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public abstract WitherWithAbstract withFoo(final String foo);
-} \ No newline at end of file
+}
diff --git a/test/transform/resource/after-delombok/WitherWithGenerics.java b/test/transform/resource/after-delombok/WitherWithGenerics.java
index c124276d..fd466559 100644
--- a/test/transform/resource/after-delombok/WitherWithGenerics.java
+++ b/test/transform/resource/after-delombok/WitherWithGenerics.java
@@ -7,19 +7,16 @@ class WitherWithGenerics<T, J extends T, L extends java.lang.Number> {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public WitherWithGenerics<T, J, L> withTest(final J test) {
return this.test == test ? this : new WitherWithGenerics<T, J, L>(test, this.test2, this.test3);
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public WitherWithGenerics<T, J, L> withTest2(final java.util.List<L> test2) {
return this.test2 == test2 ? this : new WitherWithGenerics<T, J, L>(this.test, test2, this.test3);
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
- @lombok.Generated
public WitherWithGenerics<T, J, L> withTest3(final java.util.List<? extends L> test3) {
return this.test3 == test3 ? this : new WitherWithGenerics<T, J, L>(this.test, this.test2, test3);
}