Package org.codehaus.aspectwerkz.joinpoint

Examples of org.codehaus.aspectwerkz.joinpoint.StaticJoinPoint


   

    for(int i = 0; i < data.size(); i++) {

      StaticJoinPoint sjp = (StaticJoinPoint) data.get(i);

     

      assertEquals(clazz,

                   sjp.getCallerClass());

     

      assertEquals(clazz,

                   sjp.getCalleeClass());

     

      assertEquals(JoinPointType.STATIC_INITIALIZATION,

                   sjp.getType());

     

      Signature signature = sjp.getSignature();

      assertNotNull(signature);

     

      assertEquals(signatureClass,

                   signature.getClass());

     

      assertEquals(clazz,

                   signature.getDeclaringType());

     

      EnclosingStaticJoinPoint esjp = sjp.getEnclosingStaticJoinPoint();

     

      assertNotNull(esjp);
View Full Code Here


     

      for(int i = 0; i < EXPECTED_SIGNATURES.length; i++) {

          StaticJoinPoint sjp = (StaticJoinPoint) s_staticJoinPoints.get(i);





      assertTrue(

              EXPECTED_SIGNATURES[i].isAssignableFrom(sjp.getSignature().getClass())

      );



      assertEquals(EXPECTED_JP_TYPES[i], sjp.getType());

         

          EnclosingStaticJoinPoint esjp = sjp.getEnclosingStaticJoinPoint();



            assertTrue(
View Full Code Here

    );
   
    Class signatureClass = StaticInitializerSignatureImpl.class;
   
    for(int i = 0; i < data.size(); i++) {
      StaticJoinPoint sjp = (StaticJoinPoint) data.get(i);
     
      assertEquals(clazz,
                   sjp.getCallerClass());
     
      assertEquals(clazz,
                   sjp.getCalleeClass());
     
      assertEquals(JoinPointType.STATIC_INITIALIZATION,
                   sjp.getType());
     
      Signature signature = sjp.getSignature();
      assertNotNull(signature);
     
      assertEquals(signatureClass,
                   signature.getClass());
     
      assertEquals(clazz,
                   signature.getDeclaringType());
     
      EnclosingStaticJoinPoint esjp = sjp.getEnclosingStaticJoinPoint();
     
      assertNotNull(esjp);
     
      assertEquals(JoinPointType.STATIC_INITIALIZATION,
                   esjp.getType());
View Full Code Here

              EXPECTED_SIGNATURES.length,
              s_staticJoinPoints.size()
      );
     
      for(int i = 0; i < EXPECTED_SIGNATURES.length; i++) {
          StaticJoinPoint sjp = (StaticJoinPoint) s_staticJoinPoints.get(i);


      assertTrue(
              EXPECTED_SIGNATURES[i].isAssignableFrom(sjp.getSignature().getClass())
      );

      assertEquals(EXPECTED_JP_TYPES[i], sjp.getType());
         
          EnclosingStaticJoinPoint esjp = sjp.getEnclosingStaticJoinPoint();

            assertTrue(
                    ENCLOSING_SJP_CLASS.isAssignableFrom(esjp.getSignature().getClass())
            );
View Full Code Here

TOP

Related Classes of org.codehaus.aspectwerkz.joinpoint.StaticJoinPoint

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.