org.sourceforge.jemm.weaver.transformation
Class MethodAnnotationTransformationTest

java.lang.Object
  extended by org.sourceforge.jemm.weaver.DefaultTestCase
      extended by org.sourceforge.jemm.weaver.transformation.MethodAnnotationTransformationTest

public class MethodAnnotationTransformationTest
extends DefaultTestCase


Constructor Summary
MethodAnnotationTransformationTest()
           
 
Method Summary
 void checkAccessB()
           
 void checkChangeA()
           
 void checkChangeAandB()
           
 void classCompiles()
           
 void fieldAccessAnotherObject()
           
 void fieldAccessAttributesB()
           
 void fieldAccessAttributesI()
           
 void fieldAccessBothAttributes()
           
 void fieldAccessUnrelatedObject()
           
 void fieldAccessUnrelatedStatic()
           
 void findAccessAttributesA()
           
 javassist.CtMethod getAccessAMethod()
           
 javassist.CtMethod getAccessBMethod()
           
 javassist.CtMethod getChangeAandBMethod()
           
 javassist.CtMethod getChangeContainedMethod()
           
 javassist.CtMethod getChangeIMethod()
           
 javassist.CtMethod getVoidVoidMethod(java.lang.String methodName)
           
 void noExceptionsOnTransform()
           
 void setUp()
           
 void tearDown()
           
 java.lang.String voidVoidMethodDescriptor()
           
 
Methods inherited from class org.sourceforge.jemm.weaver.DefaultTestCase
checkedExceptionThrowingConstructorClass, childDummyClass, cleanupClassPool, containedDummyClass, emptyClass, exceptionThrowingConstructorClass, hackClassPath, initialiseClass, initialiseSession, loadClass, methodClass, methodJEMMObjectAccess, referenceArrayClass, referenceClass, synchronizedBlockDummyClass, unconvertedContainedDummyClass, unloadClass, unsupportedDummyClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodAnnotationTransformationTest

public MethodAnnotationTransformationTest()
Method Detail

setUp

public void setUp()

tearDown

public void tearDown()

voidVoidMethodDescriptor

public java.lang.String voidVoidMethodDescriptor()

getVoidVoidMethod

public javassist.CtMethod getVoidVoidMethod(java.lang.String methodName)
                                     throws javassist.NotFoundException
Throws:
javassist.NotFoundException

getAccessAMethod

public javassist.CtMethod getAccessAMethod()
                                    throws javassist.NotFoundException
Throws:
javassist.NotFoundException

getAccessBMethod

public javassist.CtMethod getAccessBMethod()
                                    throws javassist.NotFoundException
Throws:
javassist.NotFoundException

getChangeAandBMethod

public javassist.CtMethod getChangeAandBMethod()
                                        throws javassist.NotFoundException
Throws:
javassist.NotFoundException

getChangeIMethod

public javassist.CtMethod getChangeIMethod()
                                    throws javassist.NotFoundException
Throws:
javassist.NotFoundException

getChangeContainedMethod

public javassist.CtMethod getChangeContainedMethod()
                                            throws javassist.NotFoundException
Throws:
javassist.NotFoundException

noExceptionsOnTransform

public void noExceptionsOnTransform()

findAccessAttributesA

public void findAccessAttributesA()
                           throws java.lang.Exception
Throws:
java.lang.Exception

fieldAccessAttributesB

public void fieldAccessAttributesB()
                            throws java.lang.Exception
Throws:
java.lang.Exception

fieldAccessBothAttributes

public void fieldAccessBothAttributes()
                               throws java.lang.Exception
Throws:
java.lang.Exception

checkChangeA

public void checkChangeA()
                  throws java.lang.Exception
Throws:
java.lang.Exception

checkAccessB

public void checkAccessB()
                  throws java.lang.Exception
Throws:
java.lang.Exception

checkChangeAandB

public void checkChangeAandB()
                      throws java.lang.Exception
Throws:
java.lang.Exception

classCompiles

public void classCompiles()

fieldAccessAttributesI

public void fieldAccessAttributesI()
                            throws java.lang.Exception
Throws:
java.lang.Exception

fieldAccessAnotherObject

public void fieldAccessAnotherObject()
                              throws java.lang.Exception
Throws:
java.lang.Exception

fieldAccessUnrelatedStatic

public void fieldAccessUnrelatedStatic()
                                throws java.lang.Exception
Throws:
java.lang.Exception

fieldAccessUnrelatedObject

public void fieldAccessUnrelatedObject()
                                throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2009. All Rights Reserved.