aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/Constructors.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-01-30 15:43:41 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-01-30 15:43:41 +0100
commita7bd812893ecb1fa603229d81c924823426ea973 (patch)
tree93ff3584b63d89752c7bf7bc4ed97e0ab567c5d1 /test/transform/resource/after-delombok/Constructors.java
parent7efbecfe49af452f117e6a16c969a4b2071e80cd (diff)
downloadlombok-a7bd812893ecb1fa603229d81c924823426ea973.tar.gz
lombok-a7bd812893ecb1fa603229d81c924823426ea973.tar.bz2
lombok-a7bd812893ecb1fa603229d81c924823426ea973.zip
[i623] added eclipse code for generating @javax.annotation.Generated, and refactored java impl to reduce DRY violations. -f pretty now includes skipping generation of this annotation, and updated ALL the test cases.
Diffstat (limited to 'test/transform/resource/after-delombok/Constructors.java')
-rw-r--r--test/transform/resource/after-delombok/Constructors.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/Constructors.java b/test/transform/resource/after-delombok/Constructors.java
index 4ffdc62b..466ae9ee 100644
--- a/test/transform/resource/after-delombok/Constructors.java
+++ b/test/transform/resource/after-delombok/Constructors.java
@@ -3,6 +3,7 @@ class RequiredArgsConstructor1 {
String name;
@java.beans.ConstructorProperties({"x"})
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public RequiredArgsConstructor1(final int x) {
this.x = x;
}
@@ -12,6 +13,7 @@ class RequiredArgsConstructorAccess {
String name;
@java.beans.ConstructorProperties({"x"})
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
protected RequiredArgsConstructorAccess(final int x) {
this.x = x;
}
@@ -20,10 +22,12 @@ class RequiredArgsConstructorStaticName {
final int x;
String name;
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private RequiredArgsConstructorStaticName(final int x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public static RequiredArgsConstructorStaticName staticname(final int x) {
return new RequiredArgsConstructorStaticName(x);
}
@@ -34,6 +38,7 @@ class RequiredArgsConstructorWithAnnotations {
@java.beans.ConstructorProperties({"x"})
@Deprecated
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public RequiredArgsConstructorWithAnnotations(final int x) {
this.x = x;
}
@@ -43,6 +48,7 @@ class AllArgsConstructor1 {
String name;
@java.beans.ConstructorProperties({"x", "name"})
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public AllArgsConstructor1(final int x, final String name) {
this.x = x;
this.name = name;
@@ -52,6 +58,7 @@ class NoArgsConstructor1 {
int x;
String name;
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public NoArgsConstructor1() {
}
}
@@ -59,10 +66,12 @@ class RequiredArgsConstructorStaticNameGenerics<T extends Number> {
final T x;
String name;
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private RequiredArgsConstructorStaticNameGenerics(final T x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public static <T extends Number> RequiredArgsConstructorStaticNameGenerics<T> of(final T x) {
return new RequiredArgsConstructorStaticNameGenerics<T>(x);
}
@@ -71,10 +80,12 @@ class RequiredArgsConstructorStaticNameGenerics2<T extends Number> {
final Class<T> x;
String name;
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
private RequiredArgsConstructorStaticNameGenerics2(final Class<T> x) {
this.x = x;
}
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
public static <T extends Number> RequiredArgsConstructorStaticNameGenerics2<T> of(final Class<T> x) {
return new RequiredArgsConstructorStaticNameGenerics2<T>(x);
}
@@ -82,6 +93,7 @@ class RequiredArgsConstructorStaticNameGenerics2<T extends Number> {
class AllArgsConstructorPackageAccess {
final String x;
@java.lang.SuppressWarnings("all")
+ @javax.annotation.Generated("lombok")
AllArgsConstructorPackageAccess(final String x) {
this.x = x;
}