abc.weaving.aspectinfo
Class AbstractAdviceSpec

java.lang.Object
  extended by abc.weaving.aspectinfo.Syntax
      extended by abc.weaving.aspectinfo.AbstractAdviceSpec
All Implemented Interfaces:
AdviceSpec
Direct Known Subclasses:
AbstractAfterAdvice, AroundAdvice, BeforeAdvice, BeforeAfterAdvice

public abstract class AbstractAdviceSpec
extends Syntax
implements AdviceSpec

Skeleton implementation of the AdviceSpec interface. Useful when implementing advice specifications.

Author:
Aske Simon Christensen, Ganesh Sittampalam

Constructor Summary
AbstractAdviceSpec(Position pos)
           
 
Method Summary
 boolean isAfter()
          Is this advice spec for "after" advice?
 
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
matchesAt, weave
 

Constructor Detail

AbstractAdviceSpec

public AbstractAdviceSpec(Position pos)
Method Detail

isAfter

public boolean isAfter()
Description copied from interface: AdviceSpec
Is this advice spec for "after" advice? This affects the precedence of the advice.

Specified by:
isAfter in interface AdviceSpec