Conditions | 1 |
Total Lines | 6 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | package com.hltech.pact.gen.domain.client.util; |
||
17 | public static List<Param> extractAll(Method feignClientMethod) { |
||
18 | return Arrays.stream(feignClientMethod.getParameters()) |
||
19 | .filter(param -> param.getAnnotation(PathVariable.class) != null) |
||
20 | .filter(param -> param.getType() != Map.class) |
||
21 | .map(PathParametersExtractor::extract) |
||
22 | .collect(Collectors.toList()); |
||
23 | } |
||
37 |