abc.weaving.matching
Class LocalsDecl

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

public class LocalsDecl
extends java.lang.Object
implements WeavingEnv

A weaving environment that handles locally scoped named pointcut variables

Author:
Ganesh Sittampalam

Constructor Summary
LocalsDecl(java.util.List formals, WeavingEnv child)
           
 
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

LocalsDecl

public LocalsDecl(java.util.List formals,
                  WeavingEnv child)
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