<aspect xmlns:src="http://www.sdml.info/srcML/src" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://control.ee.ethz.ch/XWeaver/AspectX" xsi:schemaLocation="http://control.ee.ethz.ch/XWeaver/AspectX ../../../../src/xsd/aspectX.xsd" name="Bug_00000112">
  
<description>This advice tests the bug reported through our bug reporting system as the issue number 112.
    See 
<a href="http://control.ee.ethz.ch/~ceg/mantis/view.php?id=112">Mantis</a>
    
<author>I. Birrer</author>
  
</description>
  
<advice type="replace" name="ReplaceReturn">
    
<description>Replaces the return statements with code<code> return 20000;</code>.</description>  
    
<pointcut type="src:return" />
    
<codeModifier type="codeFragment">
      
<text>return 20000;</text>
    
</codeModifier>
  
</advice>
  
  
<advice type="before" name="BeforeReturn">
    
<description>Weaves <code>int x = 10;</code> code before every return statement.</description>  
    
<pointcut type="src:return" />
    
<codeModifier type="codeFragment">
      
<text>int x = 10;</text>
    
</codeModifier>
  
</advice>
</aspect>






































v