| 程序包 | 说明 |
|---|---|
| com.baidu.bjf.remoting.protobuf.code | |
| com.baidu.bjf.remoting.protobuf.utils |
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<FieldInfo> |
AbstractCodeGenerator.fields
The fields.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
CodedConstant.getMapFieldGenericParameterString(FieldInfo field)
Gets the map field generic parameter string.
|
static String |
CodedConstant.getMappedTypeSize(FieldInfo field,
int order,
FieldType type,
boolean isList,
boolean isMap,
boolean debug,
File path)
Gets the mapped type size.
|
static String |
CodedConstant.getMappedWriteCode(FieldInfo field,
String prefix,
int order,
FieldType type,
boolean isList,
boolean isMap)
get mapped object byte write java expression.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Set<Class> |
AbstractCodeGenerator.getDependenciesClasses(List<FieldInfo> fields)
Gets the dependencies classes.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static List<FieldInfo> |
ProtobufProxyUtils.fetchFieldInfos(Class cls,
boolean ignoreNoAnnotation)
Fetch field infos.
|
static List<FieldInfo> |
ProtobufProxyUtils.processDefaultValue(List<Field> fields,
boolean ignoreNoAnnotation,
boolean isZipZap)
to process default value of
@Protobuf value on field. |
Copyright © 2022 Baidu, Inc.. All rights reserved.