|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.codehaus.aspectwerkz.transform.delegation.FieldSetGetTransformer
Advises SET and GET join points.
| Field Summary |
| Fields inherited from interface org.codehaus.aspectwerkz.transform.Transformer |
STATUS_HAS_NO_POINTCUT, STATUS_HAS_POINTCUT, STATUS_SKIP |
| Constructor Summary | |
FieldSetGetTransformer()
|
|
| Method Summary | |
static boolean |
classFilter(javassist.CtClass cg,
ExpressionContext ctx,
SystemDefinition definition)
Filters the classes to be transformed. |
static boolean |
getFieldFilter(SystemDefinition definition,
ExpressionContext ctx,
FieldInfo fieldInfo)
Filters the GETFIELD's to be transformed. |
static boolean |
methodFilter(javassist.CtBehavior method)
Filters the methods. |
static boolean |
setFieldFilter(SystemDefinition definition,
ExpressionContext ctx,
FieldInfo fieldInfo)
Filters the PUTFIELD's to be transformed. |
void |
transform(Context context,
Klass klass)
Transforms the call side pointcuts. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FieldSetGetTransformer()
| Method Detail |
public void transform(Context context,
Klass klass)
throws javassist.NotFoundException,
javassist.CannotCompileException
transform in interface Transformercontext - the transformation contextklass - the class set.
javassist.NotFoundException
javassist.CannotCompileException
public static boolean classFilter(javassist.CtClass cg,
ExpressionContext ctx,
SystemDefinition definition)
cg - the class to filterctx - the contextdefinition - the definition
public static boolean methodFilter(javassist.CtBehavior method)
method - the method to filter
public static boolean setFieldFilter(SystemDefinition definition,
ExpressionContext ctx,
FieldInfo fieldInfo)
definition - the definitionctx - the contextfieldInfo - the field info
public static boolean getFieldFilter(SystemDefinition definition,
ExpressionContext ctx,
FieldInfo fieldInfo)
definition - the definitionctx - the contextfieldInfo - the field info
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||