MCPcopy Create free account
hub / github.com/LFYSec/MScan / isMapping

Method isMapping

src/main/java/fdu/secsys/microservice/util/FeignUtil.java:50–55  ·  view source on GitHub ↗
(Annotation annotation)

Source from the content-addressed store, hash-verified

48 }
49
50 public static boolean isMapping(Annotation annotation) {
51 if(rsAnno.stream().anyMatch(suffix -> annotation.getType().endsWith(suffix))) {
52 return true;
53 }
54 return mappingAnno.stream().anyMatch(suffix -> annotation.getType().endsWith(suffix));
55 }
56
57 public static List<String> getMappings(Annotated annotated) {
58 List<String> mappings = new ArrayList<>();

Callers

nothing calls this directly

Calls 2

streamMethod · 0.80
getTypeMethod · 0.65

Tested by

no test coverage detected