abc.weaving.aspectinfo
Class AfterReturningArgAdvice

java.lang.Object
  extended by abc.weaving.aspectinfo.Syntax
      extended by abc.weaving.aspectinfo.AbstractAdviceSpec
          extended by abc.weaving.aspectinfo.AbstractAfterAdvice
              extended by abc.weaving.aspectinfo.AfterReturningAdvice
                  extended by 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

Constructor Summary
AfterReturningArgAdvice(Formal formal, Position pos)
           
 
Method Summary
 Formal getFormal()
           
 Residue matchesAt(WeavingEnv we, ShadowMatch sm, AbstractAdviceDecl ad)
          Does this kind of advice match at the given join point shadow?
 java.lang.String toString()
           
 
Methods inherited from class abc.weaving.aspectinfo.AfterReturningAdvice
weave
 
Methods inherited from class abc.weaving.aspectinfo.AbstractAdviceSpec
isAfter
 
Methods inherited from class abc.weaving.aspectinfo.Syntax
getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AfterReturningArgAdvice

public AfterReturningArgAdvice(Formal formal,
                               Position pos)
Method Detail

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 environment
sm - The shadow match structure
ad - The advice declaration being matched, for use in generating a good error message if appropriate