abc.weaving.aspectinfo
Class AbstractAfterAdvice

java.lang.Object
  extended by abc.weaving.aspectinfo.Syntax
      extended by abc.weaving.aspectinfo.AbstractAdviceSpec
          extended by abc.weaving.aspectinfo.AbstractAfterAdvice
All Implemented Interfaces:
AdviceSpec
Direct Known Subclasses:
AfterAdvice, AfterReturningAdvice, AfterThrowingAdvice

public abstract class AbstractAfterAdvice
extends AbstractAdviceSpec

Abstract base class for all forms of "after" advice

Author:
Ganesh Sittampalam

Constructor Summary
AbstractAfterAdvice(Position pos)
           
 
Method Summary
 Residue matchesAt(WeavingEnv we, ShadowMatch sm, AbstractAdviceDecl ad)
          Does this kind of advice match at the given join point shadow?
 
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, toString, wait, wait, wait
 
Methods inherited from interface abc.weaving.aspectinfo.AdviceSpec
weave
 

Constructor Detail

AbstractAfterAdvice

public AbstractAfterAdvice(Position pos)
Method Detail

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?

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