MadMax1028

Kotlin Controller decompiled

Aug 24th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.26 KB | None | 0 0
  1. @RestController
  2. @Metadata(
  3.    mv = {1, 1, 2},
  4.    bv = {1, 0, 1},
  5.    k = 1,
  6.    d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0003\u0018\u00002\u00020\u0001:\u0001\u0006B\u0005¢\u0006\u0002\u0010\u0002J\b\u0010\u0003\u001a\u00020\u0001H\u0007J\u0012\u0010\u0004\u001a\u00020\u00052\b\b\u0001\u0010\u0004\u001a\u00020\u0005H\u0007¨\u0006\u0007"},
  7.    d2 = {"Ldemo/controllers/JsonController;", "", "()V", "anonymous", "data", "Ldemo/controllers/JsonController$Data;", "Data", "kotlin-spring_main"}
  8. )
  9. final class JsonController {
  10.    @GetMapping({"anonymous"})
  11.    @NotNull
  12.    public final Object anonymous() {
  13.       return new Object() {
  14.          private final int a = 1;
  15.          @NotNull
  16.          private final String b = "b";
  17.          @NotNull
  18.          private final <undefinedtype> nested = new Object() {
  19.             private final double c = 3.141592653589793D;
  20.             @NotNull
  21.             private final DayOfWeek d;
  22.  
  23.             public final double getC() {
  24.                return this.c;
  25.             }
  26.  
  27.             @NotNull
  28.             public final DayOfWeek getD() {
  29.                return this.d;
  30.             }
  31.  
  32.             {
  33.                this.d = DayOfWeek.MONDAY;
  34.             }
  35.          };
  36.          @NotNull
  37.          private final List list;
  38.  
  39.          public final int getA() {
  40.             return this.a;
  41.          }
  42.  
  43.          @NotNull
  44.          public final String getB() {
  45.             return this.b;
  46.          }
  47.  
  48.          @NotNull
  49.          public final <undefinedtype> getNested() {
  50.             return this.nested;
  51.          }
  52.  
  53.          @NotNull
  54.          public final List getList() {
  55.             return this.list;
  56.          }
  57.  
  58.          {
  59.             Iterable $receiver$iv = (Iterable)(new IntRange(1, 10));
  60.             Collection destination$iv$iv = (Collection)(new ArrayList(CollectionsKt.collectionSizeOrDefault($receiver$iv, 10)));
  61.             Iterator var4 = $receiver$iv.iterator();
  62.  
  63.             while(var4.hasNext()) {
  64.                int item$iv$iv = ((IntIterator)var4).nextInt();
  65.                Integer var12 = Integer.valueOf(item$iv$iv * item$iv$iv);
  66.                destination$iv$iv.add(var12);
  67.             }
  68.  
  69.             List var11 = (List)destination$iv$iv;
  70.             this.list = var11;
  71.          }
  72.       };
  73.    }
  74.  
  75.    @PostMapping({"data"})
  76.    @NotNull
  77.    public final JsonController.Data data(@RequestBody @NotNull JsonController.Data data) {
  78.       Intrinsics.checkParameterIsNotNull(data, "data");
  79.       return data;
  80.    }
  81.  
  82.    @Metadata(
  83.       mv = {1, 1, 2},
  84.       bv = {1, 0, 1},
  85.       k = 1,
  86.       d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0004\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"},
  87.       d2 = {"Ldemo/controllers/JsonController$Data;", "", "value", "", "(I)V", "getValue", "()I", "kotlin-spring_main"}
  88.    )
  89.    public static final class Data {
  90.       private final int value;
  91.  
  92.       public final int getValue() {
  93.          return this.value;
  94.       }
  95.  
  96.       public Data(int value) {
  97.          this.value = value;
  98.       }
  99.    }
  100. }
Add Comment
Please, Sign In to add comment