| Interface | Description |
|---|---|
| AliasHandler |
别名处理器
|
| AnnotatedEggg | |
| CreatorMatcher | |
| DigestHandler |
提炼处理器
|
| ExecutableEggg | |
| Property |
属性
|
| ReflectHandler |
反射处理器(预留的原生编译扩展)
|
| Class | Description |
|---|---|
| ClassEggg |
类包装器
|
| ConstrEggg |
构造包装器
|
| 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 !
|
| FieldEggg |
字段包装器
|
| GenericResolver |
泛型分析器
|
| GenericResolver.GenericArrayTypeImpl | |
| GenericResolver.ParameterizedTypeImpl | |
| GenericResolver.WildcardTypeImpl | |
| JavaUtil |
Java 工具
|
| MethodEggg |
方法包装器
|
| ParamEggg |
参数包装器
|
| PropertyEggg |
属性集成
|
| PropertyMethodEggg |
属性方法包装器
|
| ReflectHandlerDefault | |
| TypeEggg |
类型包装器
|
Copyright © 2025. All rights reserved.