| 程序包 | 说明 |
|---|---|
| com.baidu.bjf.remoting.protobuf | |
| com.baidu.bjf.remoting.protobuf.code |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> Codec<T> |
ProtobufProxy.create(Class<T> cls,
boolean debug,
File path,
Compiler compiler,
ICodeGenerator codeGenerator)
To create a protobuf proxy class for target class.
|
static <T> Codec<T> |
ProtobufProxy.create(Class<T> cls,
Compiler compiler,
ICodeGenerator codeGenerator)
To create a protobuf proxy class for target class.
|
protected static <T> Codec<T> |
ProtobufProxy.doCreate(Class<T> cls,
boolean debug,
Compiler compiler,
ICodeGenerator cg)
To create a protobuf proxy class for target class.
|
static void |
ProtobufProxy.dynamicCodeGenerate(OutputStream os,
Class cls,
Charset charset,
ICodeGenerator codeGenerator)
To generate a protobuf proxy java source code for target class.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractCodeGenerator
Abstract
ICodeGenerator implements. |
class |
RandomNameCodeGenerator
The Class RandomNameCodeGenerator.
|
class |
TemplateCodeGenerator
Code generator utility class by template engine.
|
Copyright © 2022 Baidu, Inc.. All rights reserved.