abc.weaving.matching
Class AdviceFormals

java.lang.Object
  extended by abc.weaving.matching.AdviceFormals
All Implemented Interfaces:
WeavingEnv

public class AdviceFormals
extends java.lang.Object
implements WeavingEnv

A weaving environment that can handle named pointcut variables corresponding to formal arguments to a piece of advice

Author:
Ganesh Sittampalam

Constructor Summary
AdviceFormals(AdviceDecl ad)
           
 
Method Summary
 AbcType getAbcType(Var v)
          Return the declared type of the given named pointcut variable
 WeavingVar getWeavingVar(Var v)
          Return the weaving variable corresponding to the given named pointcut variable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdviceFormals

public AdviceFormals(AdviceDecl ad)
Method Detail

getWeavingVar

public WeavingVar getWeavingVar(Var v)
Description copied from interface: WeavingEnv
Return the weaving variable corresponding to the given named pointcut variable

Specified by:
getWeavingVar in interface WeavingEnv
Parameters:
v - The pointcut variable

getAbcType

public AbcType getAbcType(Var v)
Description copied from interface: WeavingEnv
Return the declared type of the given named pointcut variable

Specified by:
getAbcType in interface WeavingEnv
Parameters:
v - The pointcut variable