mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 12:16:49 +00:00
Eclipse expected output.
This commit is contained in:
1 parent
65fc9897b3
commit
cd8434feee
10 files changed
+178
No files matched your search
@@ -0,0 +1,31 @@
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
import java.util.List;
|
||||
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA {
|
||||
}
|
||||
@lombok.Builder class BuilderTypeAnnos {
|
||||
public static @java.lang.SuppressWarnings("all") class BuilderTypeAnnosBuilder {
|
||||
private @java.lang.SuppressWarnings("all") List<String> foo;
|
||||
@java.lang.SuppressWarnings("all") BuilderTypeAnnosBuilder() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") BuilderTypeAnnosBuilder foo(final @TA List<String> foo) {
|
||||
this.foo = foo;
|
||||
return this;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") BuilderTypeAnnos build() {
|
||||
return new BuilderTypeAnnos(foo);
|
||||
}
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
|
||||
return (("BuilderTypeAnnos.BuilderTypeAnnosBuilder(foo=" + this.foo) + ")");
|
||||
}
|
||||
}
|
||||
private @TA List<@TA String> foo;
|
||||
@java.lang.SuppressWarnings("all") BuilderTypeAnnos(final @TA List<String> foo) {
|
||||
super();
|
||||
this.foo = foo;
|
||||
}
|
||||
public static @java.lang.SuppressWarnings("all") BuilderTypeAnnosBuilder builder() {
|
||||
return new BuilderTypeAnnosBuilder();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
import java.util.List;
|
||||
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA {
|
||||
}
|
||||
@lombok.Builder class BuilderTypeAnnos {
|
||||
public static @java.lang.SuppressWarnings("all") class BuilderTypeAnnosBuilder {
|
||||
private @java.lang.SuppressWarnings("all") List<String> foo;
|
||||
@java.lang.SuppressWarnings("all") BuilderTypeAnnosBuilder() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") BuilderTypeAnnosBuilder foo(final List<String> foo) {
|
||||
this.foo = foo;
|
||||
return this;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") BuilderTypeAnnos build() {
|
||||
return new BuilderTypeAnnos(foo);
|
||||
}
|
||||
public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() {
|
||||
return (("BuilderTypeAnnos.BuilderTypeAnnosBuilder(foo=" + this.foo) + ")");
|
||||
}
|
||||
}
|
||||
private @TA List<@TA String> foo;
|
||||
@java.lang.SuppressWarnings("all") BuilderTypeAnnos(final List<String> foo) {
|
||||
super();
|
||||
this.foo = foo;
|
||||
}
|
||||
public static @java.lang.SuppressWarnings("all") BuilderTypeAnnosBuilder builder() {
|
||||
return new BuilderTypeAnnosBuilder();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
import java.util.List;
|
||||
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA {
|
||||
}
|
||||
@lombok.AllArgsConstructor class ConstructorsTypeAnnos {
|
||||
@TA List<@TA String> foo;
|
||||
public @java.lang.SuppressWarnings("all") ConstructorsTypeAnnos(final @TA List<String> foo) {
|
||||
super();
|
||||
this.foo = foo;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
import java.util.List;
|
||||
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA {
|
||||
}
|
||||
@lombok.AllArgsConstructor class ConstructorsTypeAnnos {
|
||||
@TA List<@TA String> foo;
|
||||
public @java.lang.SuppressWarnings("all") ConstructorsTypeAnnos(final List<String> foo) {
|
||||
super();
|
||||
this.foo = foo;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import lombok.Getter;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
import java.util.List;
|
||||
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA {
|
||||
}
|
||||
class GetterTypeAnnos {
|
||||
@Getter @TA List<@TA String> foo;
|
||||
GetterTypeAnnos() {
|
||||
super();
|
||||
}
|
||||
public @TA @java.lang.SuppressWarnings("all") List<String> getFoo() {
|
||||
return this.foo;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import lombok.Getter;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
import java.util.List;
|
||||
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA {
|
||||
}
|
||||
class GetterTypeAnnos {
|
||||
@Getter @TA List<@TA String> foo;
|
||||
GetterTypeAnnos() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") List<String> getFoo() {
|
||||
return this.foo;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import lombok.Setter;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
import java.util.List;
|
||||
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA {
|
||||
}
|
||||
class SetterTypeAnnos {
|
||||
@Setter @TA List<@TA String> foo;
|
||||
SetterTypeAnnos() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") void setFoo(final @TA List<String> foo) {
|
||||
this.foo = foo;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import lombok.Setter;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
import java.util.List;
|
||||
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA {
|
||||
}
|
||||
class SetterTypeAnnos {
|
||||
@Setter @TA List<@TA String> foo;
|
||||
SetterTypeAnnos() {
|
||||
super();
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") void setFoo(final List<String> foo) {
|
||||
this.foo = foo;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
import lombok.experimental.Wither;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
import java.util.List;
|
||||
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA {
|
||||
}
|
||||
class WitherTypeAnnos {
|
||||
final @Wither @TA List<@TA String> foo;
|
||||
WitherTypeAnnos(@TA List<@TA String> foo) {
|
||||
super();
|
||||
this.foo = foo;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") WitherTypeAnnos withFoo(final @TA List<String> foo) {
|
||||
return ((this.foo == foo) ? this : new WitherTypeAnnos(foo));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
import lombok.experimental.Wither;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
import java.util.List;
|
||||
@Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) @interface TA {
|
||||
}
|
||||
class WitherTypeAnnos {
|
||||
final @Wither @TA List<@TA String> foo;
|
||||
WitherTypeAnnos(@TA List<@TA String> foo) {
|
||||
super();
|
||||
this.foo = foo;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") WitherTypeAnnos withFoo(final List<String> foo) {
|
||||
return ((this.foo == foo) ? this : new WitherTypeAnnos(foo));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user