2 * Copyright (c) 2023 PANTHEON.tech, s.r.o. 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
8 package org.opendaylight.mdsal.binding.generator.impl.reactor;
10 import org.eclipse.jdt.annotation.NonNull;
11 import org.eclipse.jdt.annotation.NonNullByDefault;
14 * An intermediate strategy which passed class name without modification. If falls back to
15 * {@link CamelCaseWithNamespaceNamingStrategy}.
18 final class ResistedCamelCaseNamingStrategy extends FallbackCamelCaseNamingStrategy {
19 ResistedCamelCaseNamingStrategy(final CamelCaseNamingStrategy delegate) {
24 String simpleClassName() {
25 return delegate().simpleClassName();
29 @NonNull ClassNamingStrategy fallback() {
30 return new CamelCaseWithNamespaceNamingStrategy(delegate());