List<MapOnly> getMapOnlies(Field field) {
        List<MapOnly> mapOnly = reflectionHelper.getAnnotationWithMeta(field, MapOnly.class);
        List<MapOnlies> mapOnlies = reflectionHelper.getAnnotationWithMeta(field, MapOnlies.class);
        if (0 == mapOnly.size() && 0 == mapOnlies.size()) {
            return null;
        }
        List<MapOnly> res = new ArrayList<>();
        res.addAll(mapOnly);
        mapOnlies.forEach(mo -> Collections.addAll(res, mo.value()));
        return res;
    }
List < MapOnly > getMapOnlies ( Field field ) { List < MapOnly > mapOnly = reflectionHelper . getAnnotationWithMeta ( field , MapOnly . class ) ; List < MapOnlies > mapOnlies = reflectionHelper . getAnnotationWithMeta ( field , MapOnlies . class ) ; if ( 0 == mapOnly . size ( ) && 0 == mapOnlies . size ( ) ) { return null ; } List < MapOnly > res = new ArrayList < > ( ) ; res . addAll ( mapOnly ) ; mapOnlies . forEach ( mo -> Collections . addAll ( res , mo . value ( ) ) ) ; return res ; }
Get the @MapOnly definitions which exist on a field, be it an individual {@link MapOnly} annotation or grouped
in {@link MapOnlies} or both.

@param field field to get annotations for
@return list of annotations