Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @RestController
- @Metadata(
- mv = {1, 1, 2},
- bv = {1, 0, 1},
- k = 1,
- 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"},
- d2 = {"Ldemo/controllers/JsonController;", "", "()V", "anonymous", "data", "Ldemo/controllers/JsonController$Data;", "Data", "kotlin-spring_main"}
- )
- final class JsonController {
- @GetMapping({"anonymous"})
- @NotNull
- public final Object anonymous() {
- return new Object() {
- private final int a = 1;
- @NotNull
- private final String b = "b";
- @NotNull
- private final <undefinedtype> nested = new Object() {
- private final double c = 3.141592653589793D;
- @NotNull
- private final DayOfWeek d;
- public final double getC() {
- return this.c;
- }
- @NotNull
- public final DayOfWeek getD() {
- return this.d;
- }
- {
- this.d = DayOfWeek.MONDAY;
- }
- };
- @NotNull
- private final List list;
- public final int getA() {
- return this.a;
- }
- @NotNull
- public final String getB() {
- return this.b;
- }
- @NotNull
- public final <undefinedtype> getNested() {
- return this.nested;
- }
- @NotNull
- public final List getList() {
- return this.list;
- }
- {
- Iterable $receiver$iv = (Iterable)(new IntRange(1, 10));
- Collection destination$iv$iv = (Collection)(new ArrayList(CollectionsKt.collectionSizeOrDefault($receiver$iv, 10)));
- Iterator var4 = $receiver$iv.iterator();
- while(var4.hasNext()) {
- int item$iv$iv = ((IntIterator)var4).nextInt();
- Integer var12 = Integer.valueOf(item$iv$iv * item$iv$iv);
- destination$iv$iv.add(var12);
- }
- List var11 = (List)destination$iv$iv;
- this.list = var11;
- }
- };
- }
- @PostMapping({"data"})
- @NotNull
- public final JsonController.Data data(@RequestBody @NotNull JsonController.Data data) {
- Intrinsics.checkParameterIsNotNull(data, "data");
- return data;
- }
- @Metadata(
- mv = {1, 1, 2},
- bv = {1, 0, 1},
- k = 1,
- 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"},
- d2 = {"Ldemo/controllers/JsonController$Data;", "", "value", "", "(I)V", "getValue", "()I", "kotlin-spring_main"}
- )
- public static final class Data {
- private final int value;
- public final int getValue() {
- return this.value;
- }
- public Data(int value) {
- this.value = value;
- }
- }
- }
Add Comment
Please, Sign In to add comment