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