aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/WithInAnonymousClass.java
blob: fef9602280ae731689af52b0e95ca4898b8393de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import lombok.With;
public class WithInAnonymousClass {
  Object annonymous = new Object() {
    @With class Inner {
      private String string;
      private Inner(String string) {
        super();
      }
      /**
       * @return a clone of this object, except with this updated property (returns {@code this} if an identical value is passed).
       */
      public @java.lang.SuppressWarnings("all") Inner withString(final String string) {
        return ((this.string == string) ? this : new Inner(string));
      }
    }
    x() {
      super();
    }
  };
  public WithInAnonymousClass() {
    super();
  }
}