mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-20 02:18:34 +00:00
perf[protocol]: 增加注释
This commit is contained in:
1 parent
3a46f490c3
commit
81dbf9e211
1 file changed
+1
@@ -332,6 +332,7 @@ public class ProtocolAnalysis {
|
|||||||
private static ProtocolRegistration parseProtocolRegistration(Class<?> clazz, ProtocolModule module) throws IllegalAccessException, NoSuchMethodException, InvocationTargetException, InstantiationException {
|
private static ProtocolRegistration parseProtocolRegistration(Class<?> clazz, ProtocolModule module) throws IllegalAccessException, NoSuchMethodException, InvocationTargetException, InstantiationException {
|
||||||
var protocolId = checkProtocol(clazz);
|
var protocolId = checkProtocol(clazz);
|
||||||
|
|
||||||
|
// 对象需要被序列化的属性
|
||||||
var fields = new ArrayList<Field>();
|
var fields = new ArrayList<Field>();
|
||||||
for (var field : clazz.getDeclaredFields()) {
|
for (var field : clazz.getDeclaredFields()) {
|
||||||
var modifiers = field.getModifiers();
|
var modifiers = field.getModifiers();
|
||||||
|
|||||||
Reference in new issue
Block a user