@@ -0,0 +1,1833 @@
+/*%0D%0A * Copyright 2002-2007 the original author or authors.%0D%0A *%0D%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0D%0A * you may not use this file except in compliance with the License.%0D%0A * You may obtain a copy of the License at%0D%0A *%0D%0A *      http://www.apache.org/licenses/LICENSE-2.0%0D%0A *%0D%0A * Unless required by applicable law or agreed to in writing, software%0D%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0D%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0D%0A * See the License for the specific language governing permissions and%0D%0A * limitations under the License.%0D%0A */%0D%0Apackage com.baidu.bjf.remoting.protobuf.code;%0D%0A%0D%0Aimport com.baidu.bjf.remoting.protobuf.utils.ClassHelper;%0D%0Aimport com.google.protobuf.Descriptors.Descriptor;%0D%0A%0D%0A/**%0D%0A * Code template utility class.%0D%0A * %0D%0A * @author xiemalin%0D%0A * @since 1.10.5%0D%0A */%0D%0Apublic class CodeTemplate %7B%0D%0A%0D%0A    %0D%0A    /**%0D%0A     * Get getDescriptor method source by template.%0D%0A     *%0D%0A     * @param cls the cls%0D%0A     * @return the source code for getDescriptor method%0D%0A     */%0D%0A    public static String descriptorMethodSource(Class cls) %7B%0D%0A        String descriptorClsName = ClassHelper.getInternalName(Descriptor.class.getName());%0D%0A        %0D%0A        String code = %22if (this.descriptor != null) %7B%22 + ClassCode.LINE_BREAK  +%0D%0A                            %22return this.descriptor;%22 + ClassCode.LINE_BREAK  +%0D%0A                       %22%7D%22 + ClassCode.LINE_BREAK +%0D%0A                       %22%25s descriptor = CodedConstant.getDescriptor(%25s);%22 + ClassCode.LINE_BREAK  +%0D%0A                       %22return (this.descriptor = descriptor);%22; %0D%0A        %0D%0A        return String.format(code, descriptorClsName, %0D%0A                ClassHelper.getInternalName(cls.getName()) + CodeGenerator.JAVA_CLASS_FILE_SUFFIX);%0D%0A        %0D%0A    %7D%0D%0A    %0D%0A    %0D%0A%7D%0D%0A

add missed file