panda.aop.ClassAgent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of panda-glue Show documentation
Show all versions of panda-glue Show documentation
Panda Glue is a ASM/AOP module of the Panda Framework.
The newest version!
package panda.aop;
/**
* 类定义的代理
*
* @author zozoh([email protected])
*/
public interface ClassAgent {
/**
* 定义一个新的类对象
*
* @param cd 字节码生成器
* @param klass 参照类对象
* @return 新的类对象
*/
Class define(ClassDefiner cd, Class klass);
/**
* 添加拦截器
*
* @param matcher 方法匹配器
* @param inte 拦截器
* @return 添加完成后的ClassAgent
*/
ClassAgent addInterceptor(MethodMatcher matcher, MethodInterceptor inte);
String CLASSNAME_SUFFIX = "$$AOP";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy