(Annotation annotation)
| 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<>(); |