abc.weaving.aspectinfo
Class PerTarget

java.lang.Object
  extended by abc.weaving.aspectinfo.Syntax
      extended by abc.weaving.aspectinfo.Per
          extended by abc.weaving.aspectinfo.PerPointcut
              extended by abc.weaving.aspectinfo.PerTarget

public class PerTarget
extends PerPointcut

A pertarget per clause.

Author:
Aske Simon Christensen, Ganesh Sittampalam

Constructor Summary
PerTarget(Pointcut pc, Position pos)
           
 
Method Summary
 Residue getAspectInstance(Aspect aspct, ShadowMatch sm)
           
 Residue matchesAt(Aspect aspct, ShadowMatch sm)
           
 void registerSetupAdvice(Aspect aspct)
          Register any advice declarations required to setup the aspect instances
 java.lang.String toString()
           
 
Methods inherited from class abc.weaving.aspectinfo.PerPointcut
getPointcut
 
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

PerTarget

public PerTarget(Pointcut pc,
                 Position pos)
Method Detail

toString

public java.lang.String toString()
Specified by:
toString in class Per

registerSetupAdvice

public void registerSetupAdvice(Aspect aspct)
Description copied from class: Per
Register any advice declarations required to setup the aspect instances

Specified by:
registerSetupAdvice in class Per

matchesAt

public Residue matchesAt(Aspect aspct,
                         ShadowMatch sm)
Specified by:
matchesAt in class Per

getAspectInstance

public Residue getAspectInstance(Aspect aspct,
                                 ShadowMatch sm)
Specified by:
getAspectInstance in class Per