org.codehaus.aspectwerkz.transform.delegation
Class AddInterfaceTransformer
java.lang.Object
org.codehaus.aspectwerkz.transform.delegation.AddInterfaceTransformer
- All Implemented Interfaces:
- Transformer
- public final class AddInterfaceTransformer
- extends Object
- implements Transformer
Adds an interfaces to classes.
- Author:
- Jonas Bonér , Alexandre Vasseur
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddInterfaceTransformer
public AddInterfaceTransformer()
transform
public void transform(Context context,
Klass klass)
- Adds an interfaces to the classes specified.
- Specified by:
transform
in interface Transformer
- Parameters:
context
- the transformation contextklass
- the class
classFilter
public static boolean classFilter(javassist.CtClass ctClass,
ExpressionContext ctx,
SystemDefinition definition)
- Filters the classes to be transformed.
- Parameters:
ctClass
- the class to filterctx
- the contextdefinition
- the definition
- Returns:
- boolean true if the method should be filtered away
Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.