| Class and Description |
|---|
| AliasHandler
别名处理器
|
| AnnotatedEggg |
| ClassEggg
类包装器
|
| ConstrEggg
构造包装器
|
| CreatorMatcher |
| DigestHandler
提炼处理器
|
| Eggg
泛型蛋(泛型包装工具)
// for snack4 demo
public class EgggUtil {
private static final Eggg eggg = new Eggg()
.withCreatorClass(ONodeCreator.class)
.withDigestHandler(EgggUtil::doDigestHandle)
.withAliasHandler(EgggUtil::doAliasHandle);
private static String doAliasHandle(ClassEggg cw, AnnotatedEggg s, String ref) {
if (s.getDigest() instanceof ONodeAttrHolder) {
return ((ONodeAttrHolder) s.getDigest()).getAlias();
} else {
return ref;
}
}
private static Object doDigestHandle(ClassEggg cw, AnnotatedEggg s, Object ref) {
ONodeAttr attr = s.getElement().getAnnotation(ONodeAttr.class);
if (attr == null && ref !
|
| ExecutableEggg |
| FieldEggg
字段包装器
|
| GenericResolver
泛型分析器
|
| MethodEggg
方法包装器
|
| ParamEggg
参数包装器
|
| Property
属性
|
| PropertyEggg
属性集成
|
| PropertyMethodEggg
属性方法包装器
|
| ReflectHandler
反射处理器(预留的原生编译扩展)
|
| TypeEggg
类型包装器
|
Copyright © 2025. All rights reserved.