mirror of
https://e.coding.net/circlecloud/YumCore.git
synced 2025-09-02 11:36:59 +00:00
@ -114,7 +114,7 @@ public abstract class AbstractInjectConfig {
|
||||
this.config = config;
|
||||
for (Field field : getClass().getDeclaredFields()) {
|
||||
// 忽略瞬态字段 忽略基础字段 忽略内联字段
|
||||
if (Modifier.isTransient(field.getModifiers()) || field.getType().isPrimitive() || field.getName().startsWith("this$")) {
|
||||
if (Modifier.isTransient(field.getModifiers()) || field.getType().isPrimitive() || field.getType().isSynthetic()) {
|
||||
continue;
|
||||
}
|
||||
ConfigNode node = field.getAnnotation(ConfigNode.class);
|
||||
|
Reference in New Issue
Block a user