Separate out YangIdentifierClassNamingStrategy
[mdsal.git] / binding / mdsal-binding-generator / src / main / java / org / opendaylight / mdsal / binding / generator / impl / reactor / ModuleNamingStrategy.java
1 /*
2  * Copyright (c) 2021 PANTHEON.tech, s.r.o. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.mdsal.binding.generator.impl.reactor;
9
10 import org.eclipse.jdt.annotation.NonNullByDefault;
11 import org.eclipse.jdt.annotation.Nullable;
12 import org.opendaylight.yangtools.yang.common.AbstractQName;
13
14 @NonNullByDefault
15 final class ModuleNamingStrategy extends YangIdentifierClassNamingStrategy {
16     ModuleNamingStrategy(final AbstractQName name) {
17         super(name);
18     }
19
20     @Override
21     @Nullable ClassNamingStrategy fallback() {
22         return null;
23     }
24 }