abc.weaving.aspectinfo
Class AfterReturningArgAdvice
java.lang.Object
abc.weaving.aspectinfo.Syntax
abc.weaving.aspectinfo.AbstractAdviceSpec
abc.weaving.aspectinfo.AbstractAfterAdvice
abc.weaving.aspectinfo.AfterReturningAdvice
abc.weaving.aspectinfo.AfterReturningArgAdvice
- All Implemented Interfaces:
- AdviceSpec
public class AfterReturningArgAdvice
- extends AfterReturningAdvice
Advice specification for after returning advice with return variable binding.
- Author:
- Aske Simon Christensen, Ganesh Sittampalam
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AfterReturningArgAdvice
public AfterReturningArgAdvice(Formal formal,
Position pos)
getFormal
public Formal getFormal()
toString
public java.lang.String toString()
- Overrides:
toString
in class AfterReturningAdvice
matchesAt
public Residue matchesAt(WeavingEnv we,
ShadowMatch sm,
AbstractAdviceDecl ad)
- Description copied from interface:
AdviceSpec
- Does this kind of advice match at the given join point shadow?
- Specified by:
matchesAt
in interface AdviceSpec
- Overrides:
matchesAt
in class AbstractAfterAdvice
- Parameters:
we
- The weaving environmentsm
- The shadow match structuread
- The advice declaration being matched, for use in generating a good error message
if appropriate