mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-13 18:16:28 +00:00
perf[protocol]: check unsupported type
This commit is contained in:
1 parent
56e1280fea
commit
4bb87e8b90
3 files changed
+34
-15
No files matched your search
@@ -107,6 +107,8 @@ public class StorageManager implements IStorageManager {
|
||||
if (clazz.isRecord()) {
|
||||
continue;
|
||||
}
|
||||
ReflectionUtils.assertIsPojoClass(clazz);
|
||||
ReflectionUtils.publicEmptyConstructor(clazz);
|
||||
var fieldList = ReflectionUtils.notStaticAndTransientFields(clazz);
|
||||
for (var field : fieldList) {
|
||||
if (Modifier.isPublic(field.getModifiers())) {
|
||||
|
||||
Reference in new issue
Block a user