public interface ClassAgent
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASSNAME_SUFFIX |
| Modifier and Type | Method and Description |
|---|---|
ClassAgent |
addInterceptor(MethodMatcher matcher,
MethodInterceptor inte)
添加拦截器
|
<T> Class<T> |
define(ClassDefiner cd,
Class<T> klass)
定义一个新的类对象
|
static final String CLASSNAME_SUFFIX
<T> Class<T> define(ClassDefiner cd, Class<T> klass)
cd - 字节码生成器klass - 参照类对象ClassAgent addInterceptor(MethodMatcher matcher, MethodInterceptor inte)
matcher - 方法匹配器inte - 拦截器Copyright © 2017. All rights reserved.