@@ -0,0 +1,1995 @@
+/*%0A *%0A * Copyright (c) 2006-2019, Speedment, Inc. All Rights Reserved.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22); You may not%0A * use this file except in compliance with the License. You may obtain a copy of%0A * the License at:%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS, WITHOUT%0A * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the%0A * License for the specific language governing permissions and limitations under%0A * the License.%0A */%0A%0Apackage com.speedment.common.codegen.provider;%0A%0Aimport com.speedment.common.codegen.DependencyManager;%0Aimport com.speedment.common.codegen.Generator;%0Aimport com.speedment.common.codegen.Meta;%0Aimport com.speedment.common.codegen.RenderStack;%0Aimport com.speedment.common.codegen.Transform;%0Aimport com.speedment.common.codegen.TransformFactory;%0Aimport com.speedment.common.codegen.internal.java.JavaGenerator;%0A%0Aimport java.util.Optional;%0Aimport java.util.stream.Stream;%0A%0Apublic class DelegateJavaGenerator implements Generator %7B%0A%0A    private JavaGenerator generator;%0A%0A    public DelegateJavaGenerator() %7B%0A        this.generator = new JavaGenerator();%0A    %7D%0A%0A    public DelegateJavaGenerator(TransformFactory factory) %7B%0A        this.generator = new JavaGenerator(factory);%0A    %7D%0A%0A    @Override%0A    public DependencyManager getDependencyMgr() %7B%0A        return generator.getDependencyMgr();%0A    %7D%0A%0A    @Override%0A    public RenderStack getRenderStack() %7B%0A        return generator.getRenderStack();%0A    %7D%0A%0A    @Override%0A    public %3CA, B%3E Stream%3CMeta%3CA, B%3E%3E metaOn(A from,%0A            Class%3CB%3E to) %7B%0A        return generator.metaOn(from, to);%0A    %7D%0A%0A    @Override%0A    public %3CA, B%3E Optional%3CMeta%3CA, B%3E%3E transform(%0A            Transform%3CA, B%3E transform, A model,%0A            TransformFactory factory) %7B%0A        return generator.transform(transform, model, factory);%0A    %7D%0A%7D%0A

create JavaGenerator delegate