abc.weaving.aspectinfo
Class AroundAdvice
java.lang.Object
  
abc.weaving.aspectinfo.Syntax
      
abc.weaving.aspectinfo.AbstractAdviceSpec
          
abc.weaving.aspectinfo.AroundAdvice
- All Implemented Interfaces: 
 - AdviceSpec
 
public class AroundAdvice
- extends AbstractAdviceSpec
 
Advice specification for around advice.
- Author:
 
  - Aske Simon Christensen
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
AroundAdvice
public AroundAdvice(AbcType rtype,
                    MethodSig proceed,
                    Position pos)
getReturnType
public AbcType getReturnType()
 
getProceedImpl
public MethodSig getProceedImpl()
- get the signature of the dummy placeholder method that is called
  as a representation of proceed calls inside this around advice.
 
 
toString
public java.lang.String toString()
- Overrides:
 toString in class java.lang.Object
 
 
matchesAt
public Residue matchesAt(WeavingEnv we,
                         ShadowMatch sm,
                         AbstractAdviceDecl ad)
- Description copied from interface: 
AdviceSpec 
- Does this kind of advice match at the given join point shadow?
- Parameters:
 we - The weaving environmentsm - The shadow match structuread - The advice declaration being matched, for use in generating a good error message
            if appropriate
 
 
weave
public void weave(SootMethod method,
                  LocalGeneratorEx localgen,
                  AdviceApplication adviceappl)
- Description copied from interface: 
AdviceSpec 
- Weave a specific advice application into the given method
  using the given local generator. The AdviceSpec is used to
  dispatch to the correct weaving method for the advice type.