1 | package org.cardanofoundation.explorer.api.common.enumeration; | |
2 | ||
3 | import java.lang.reflect.Type; | |
4 | import java.util.List; | |
5 | import java.util.function.Supplier; | |
6 | ||
7 | import lombok.AllArgsConstructor; | |
8 | import lombok.Getter; | |
9 | ||
10 | import com.google.gson.reflect.TypeToken; | |
11 | ||
12 | import org.cardanofoundation.explorer.api.model.metadatastandard.bolnisi.MetadataBolnisi; | |
13 | import org.cardanofoundation.explorer.api.model.response.BaseFilterResponse; | |
14 | import org.cardanofoundation.explorer.api.model.response.dashboard.TxGraph; | |
15 | import org.cardanofoundation.explorer.api.model.response.token.TokenFilterResponse; | |
16 | import org.cardanofoundation.explorer.api.model.response.token.TokenResponse; | |
17 | ||
18 | @Getter | |
19 | @AllArgsConstructor | |
20 | public enum TypeTokenGson { | |
21 |
1
1. lambda$static$0 : replaced return value with null for org/cardanofoundation/explorer/api/common/enumeration/TypeTokenGson::lambda$static$0 → NO_COVERAGE |
TOKEN_FILTER(() -> new TypeToken<BaseFilterResponse<TokenFilterResponse>>() {}.getType()), |
22 | ||
23 |
1
1. lambda$static$1 : replaced return value with null for org/cardanofoundation/explorer/api/common/enumeration/TypeTokenGson::lambda$static$1 → NO_COVERAGE |
TOKEN_DETAIL(() -> new TypeToken<TokenResponse>() {}.getType()), |
24 |
1
1. lambda$static$2 : replaced return value with null for org/cardanofoundation/explorer/api/common/enumeration/TypeTokenGson::lambda$static$2 → NO_COVERAGE |
NEWS(() -> new TypeToken<>() {}.getType()), |
25 |
1
1. lambda$static$3 : replaced return value with null for org/cardanofoundation/explorer/api/common/enumeration/TypeTokenGson::lambda$static$3 → NO_COVERAGE |
BOLNISI_METADATA(() -> new TypeToken<MetadataBolnisi>() {}.getType()), |
26 |
1
1. lambda$static$4 : replaced return value with null for org/cardanofoundation/explorer/api/common/enumeration/TypeTokenGson::lambda$static$4 → NO_COVERAGE |
TX_CHART(() -> new TypeToken<List<TxGraph>>() {}.getType()), |
27 |
1
1. lambda$static$5 : replaced return value with null for org/cardanofoundation/explorer/api/common/enumeration/TypeTokenGson::lambda$static$5 → NO_COVERAGE |
MICAR(() -> new TypeToken<>() {}.getType()), |
28 | ; | |
29 | ||
30 |
1
1. getType : replaced return value with null for org/cardanofoundation/explorer/api/common/enumeration/TypeTokenGson::getType → NO_COVERAGE |
private final Supplier<Type> type; |
31 | } | |
Mutations | ||
21 |
1.1 |
|
23 |
1.1 |
|
24 |
1.1 |
|
25 |
1.1 |
|
26 |
1.1 |
|
27 |
1.1 |
|
30 |
1.1 |