public class ProtobufField extends Object
| 构造器和说明 |
|---|
ProtobufField(Field field)
Instantiates a new protobuf field.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Protobuf |
getAnnotation()
Gets the annotation.
|
Class<?> |
getDeclaredClass()
Gets the declared class.
|
Type |
getGenericType()
Gets the generic type.
|
String |
getName()
Gets the name.
|
Class<?> |
getType()
Gets the type.
|
public ProtobufField(Field field)
field - the fieldpublic Protobuf getAnnotation()
public String getName()
public Class<?> getType()
public Class<?> getDeclaredClass()
public Type getGenericType()
Copyright © 2022 Baidu, Inc.. All rights reserved.