| org.codehaus.aspectwerkz.transform.inlining.spi.AspectModel
All known Subclasses: org.codehaus.aspectwerkz.transform.aspectj.AspectJAspectModel, org.codehaus.aspectwerkz.transform.aopalliance.AopAllianceAspectModel,
Inner Class :public static class AroundClosureClassInfo | |
Method Summary | |
void | createAfterAdviceArgumentHandling(CodeVisitor cv, AdviceMethodInfo adviceMethodInfo) Handles the arguments to the after advice. | void | createAroundAdviceArgumentHandling(CodeVisitor cv, AdviceMethodInfo adviceMethodInfo) Handles the arguments to the around advice. | void | createAspectInstantiation(CodeVisitor cv, AspectInfo aspectInfo, String joinPointClassName) Creates instantiation of an aspect instance. | void | createAspectReferenceField(ClassWriter cw, AspectInfo aspectInfo, String joinPointClassName) Creates aspect reference field (field in the jit jointpoint class f.e.) for an aspect instance. | void | createBeforeAdviceArgumentHandling(CodeVisitor cv, AdviceMethodInfo adviceMethodInfo) Handles the arguments to the after advice. | void | createInvocationOfAroundClosureSuperClass(CodeVisitor cv) Creates invocation of the super class for the around closure.
E.g. | void | createMandatoryMethods(ClassWriter cw, String className) Creates the methods required to implement or extend to implement the closure for the specific aspect model type. | void | defineAspect(ClassInfo aspectClassInfo, AspectDefinition aspectDef, ClassLoader loader) Defines the aspect and adds definition to the aspect definition. | AroundClosureClassInfo | getAroundClosureClassInfo() Returns info about the closure class, name and type (interface or class). | String | getAspectModelType() Returns the aspect model type, which is an id for the the special aspect model, can be anything as long
as it is unique. | boolean | requiresReflectiveInfo() Should return true if the aspect model requires that Runtime Type Information (RTTI) is build up
for the join point. |
createAfterAdviceArgumentHandling | void createAfterAdviceArgumentHandling(CodeVisitor cv, AdviceMethodInfo adviceMethodInfo)(Code) | | Handles the arguments to the after advice.
Parameters: cv - Parameters: adviceMethodInfo - |
createAroundAdviceArgumentHandling | void createAroundAdviceArgumentHandling(CodeVisitor cv, AdviceMethodInfo adviceMethodInfo)(Code) | | Handles the arguments to the around advice.
Parameters: cv - Parameters: adviceMethodInfo - |
createAspectInstantiation | void createAspectInstantiation(CodeVisitor cv, AspectInfo aspectInfo, String joinPointClassName)(Code) | | Creates instantiation of an aspect instance.
Parameters: cv - Parameters: aspectInfo - Parameters: joinPointClassName - |
createAspectReferenceField | void createAspectReferenceField(ClassWriter cw, AspectInfo aspectInfo, String joinPointClassName)(Code) | | Creates aspect reference field (field in the jit jointpoint class f.e.) for an aspect instance.
Parameters: cw - Parameters: aspectInfo - Parameters: joinPointClassName - |
createBeforeAdviceArgumentHandling | void createBeforeAdviceArgumentHandling(CodeVisitor cv, AdviceMethodInfo adviceMethodInfo)(Code) | | Handles the arguments to the after advice.
Parameters: cv - Parameters: adviceMethodInfo - |
createInvocationOfAroundClosureSuperClass | void createInvocationOfAroundClosureSuperClass(CodeVisitor cv)(Code) | | Creates invocation of the super class for the around closure.
E.g. the invocation of super(..) in the constructor.
Only needed to be implemented if the around closure base class is really a base class and not an interface.
Parameters: cv - |
createMandatoryMethods | void createMandatoryMethods(ClassWriter cw, String className)(Code) | | Creates the methods required to implement or extend to implement the closure for the specific aspect model type.
Parameters: cw - Parameters: className - |
defineAspect | void defineAspect(ClassInfo aspectClassInfo, AspectDefinition aspectDef, ClassLoader loader)(Code) | | Defines the aspect and adds definition to the aspect definition.
Parameters: aspectClassInfo - Parameters: aspectDef - Parameters: loader - |
getAroundClosureClassInfo | AroundClosureClassInfo getAroundClosureClassInfo()(Code) | | Returns info about the closure class, name and type (interface or class).
the closure class info |
getAspectModelType | String getAspectModelType()(Code) | | Returns the aspect model type, which is an id for the the special aspect model, can be anything as long
as it is unique.
the aspect model type id |
requiresReflectiveInfo | boolean requiresReflectiveInfo()(Code) | | Should return true if the aspect model requires that Runtime Type Information (RTTI) is build up
for the join point. Needed for reflective systems and systems that does not support f.e. args() binding.
|
|
|