aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/NonNullPlain.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-ecj/NonNullPlain.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-ecj/NonNullPlain.java')
-rw-r--r--test/transform/resource/after-ecj/NonNullPlain.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/transform/resource/after-ecj/NonNullPlain.java b/test/transform/resource/after-ecj/NonNullPlain.java
index 6e937f6a..592ff4b5 100644
--- a/test/transform/resource/after-ecj/NonNullPlain.java
+++ b/test/transform/resource/after-ecj/NonNullPlain.java
@@ -5,7 +5,7 @@ import java.lang.annotation.*;
@lombok.NonNull int i;
@lombok.NonNull String s;
@NotNull Object o;
- public @java.beans.ConstructorProperties({"i", "s"}) @java.lang.SuppressWarnings("all") NonNullPlain(final @lombok.NonNull int i, final @lombok.NonNull String s) {
+ public @java.beans.ConstructorProperties({"i", "s"}) @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") NonNullPlain(final @lombok.NonNull int i, final @lombok.NonNull String s) {
super();
if ((s == null))
{
@@ -14,26 +14,26 @@ import java.lang.annotation.*;
this.i = i;
this.s = s;
}
- public @lombok.NonNull @java.lang.SuppressWarnings("all") int getI() {
+ public @lombok.NonNull @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") int getI() {
return this.i;
}
- public @lombok.NonNull @java.lang.SuppressWarnings("all") String getS() {
+ public @lombok.NonNull @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") String getS() {
return this.s;
}
- public @java.lang.SuppressWarnings("all") Object getO() {
+ public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") Object getO() {
return this.o;
}
- public @java.lang.SuppressWarnings("all") void setI(final @lombok.NonNull int i) {
+ public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") void setI(final @lombok.NonNull int i) {
this.i = i;
}
- public @java.lang.SuppressWarnings("all") void setS(final @lombok.NonNull String s) {
+ public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") void setS(final @lombok.NonNull String s) {
if ((s == null))
{
throw new java.lang.NullPointerException("s");
}
this.s = s;
}
- public @java.lang.SuppressWarnings("all") void setO(final Object o) {
+ public @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") void setO(final Object o) {
this.o = o;
}
} \ No newline at end of file