private static Access findAccessByName(String name, Collection<Access> ins) {
        for (Access access : ins) {
            if (name.equals(access.getField().getName())) {
                return access;
            }
        }
        return null;
    }