<?xml version="1.0" encoding="UTF-8"?>
<aop>
   <introduction class="POJO">
      <interfaces>
         java.io.Serializable
      </interfaces>
   </introduction>

   <introduction class="POJO2">
      <mixin>
         <interfaces>
            java.io.Externalizable
         </interfaces>
         <class>POJO2ExternalizableMixin</class>
         <construction>new POJO2ExternalizableMixin(this)</construction>
      </mixin>
   </introduction>

   <metadata tag="test" class="POJO3">
      <method expr="void method()"/>
   </metadata>

   <metadata tag="test2" class="POJO4">
      <class/>
   </metadata>

   <!-- introduce serializable to any class that is tagged @test2 or has a method tagged @test -->
   <introduction expr="has(* *->@test(..)) OR class(@test2)">
      <interfaces>
         java.io.Serializable
      </interfaces>
   </introduction>



</aop>
