abc.weaving.aspectinfo
Class AfterThrowingAdvice

java.lang.Object
  extended by abc.weaving.aspectinfo.Syntax
      extended by abc.weaving.aspectinfo.AbstractAdviceSpec
          extended by abc.weaving.aspectinfo.AbstractAfterAdvice
              extended by abc.weaving.aspectinfo.AfterThrowingAdvice
All Implemented Interfaces:
AdviceSpec
Direct Known Subclasses:
AfterThrowingArgAdvice, DeclareSoft.SoftenAdvice

public class AfterThrowingAdvice
extends AbstractAfterAdvice

Advice specification for after throwing advice without exception variable binding.

Author:
Aske Simon Christensen, Ganesh Sittampalam

Constructor Summary
AfterThrowingAdvice(Position pos)
           
 
Method Summary
 void bindException(WeavingContext wc, AbstractAdviceDecl ad, Local Exception)
           
 RefType getCatchType()
           
 java.lang.String toString()
           
 void weave(SootMethod method, LocalGeneratorEx localgen, AdviceApplication adviceappl)
          Weave a specific advice application into the given method using the given local generator.
 
Methods inherited from class abc.weaving.aspectinfo.AbstractAfterAdvice
matchesAt
 
Methods inherited from class abc.weaving.aspectinfo.AbstractAdviceSpec
isAfter
 
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

AfterThrowingAdvice

public AfterThrowingAdvice(Position pos)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getCatchType

public RefType getCatchType()

bindException

public void bindException(WeavingContext wc,
                          AbstractAdviceDecl ad,
                          Local Exception)

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.