abc.weaving.aspectinfo
Class Singleton

java.lang.Object
  extended by abc.weaving.aspectinfo.Syntax
      extended by abc.weaving.aspectinfo.Per
          extended by abc.weaving.aspectinfo.Singleton

public class Singleton
extends Per

A singleton per clause.

Author:
Aske Simon Christensen, Ganesh Sittampalam

Constructor Summary
Singleton(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.Syntax
getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Singleton

public Singleton(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