2 * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 @import org.opendaylight.mdsal.binding.javav2.util.BindingMapping.MEMBER_PATTERN_LIST
10 @import org.opendaylight.mdsal.binding.javav2.util.BindingMapping.PATTERN_CONSTANT_NAME
14 final @{patterName} a[] = new @{patterName}[@{PATTERN_CONSTANT_NAME}.size()];
16 for (String regEx : @{PATTERN_CONSTANT_NAME}) {
17 a[i++] = Pattern.compile(regEx);
20 @{MEMBER_PATTERN_LIST} = a;