public abstract class InvokeAspect
extends java.lang.Object
| Constructor and Description |
|---|
InvokeAspect() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(MethodInfo methodInfo)
Determines if some method should be scanned for pointcuts.
|
abstract InvokeReplacer |
pointcut(InvokeInfo invokeInfo)
Defines method invocation pointcut and returns replacement advice.
|
public boolean apply(MethodInfo methodInfo)
true if method should be scanned.public abstract InvokeReplacer pointcut(InvokeInfo invokeInfo)
null if method doesn't have to be replaced at all.
Special case is new instruction. Since new opcode
appears in the bytecode before actual constructor invocation,
description of InvokeInfo is unknown. Therefore, for each
constructor that will be replaced, there must be an advice replacement method
with the same description.
Copyright © 2003-2013 Jodd Team