The Spring Framework

org.springframework.aop.aspectj
Class RuntimeTestWalker

java.lang.Object
  extended by org.springframework.aop.aspectj.RuntimeTestWalker

public class RuntimeTestWalker
extends Object

This class encapsulates some AspectJ internal knowledge that should be pushed back into the AspectJ project in a future release.

It relies on implementation specific knowledge in AspectJ to break encapsulation and do something AspectJ was not designed to do :- query the types of runtime tests that will be performed. The code here should migrate to ShadowMatch.getVariablesInvolvedInRuntimeTest() or some similar operation.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=151593

Since:
2.0
Author:
Adrian Colyer, Ramnivas Laddad

Constructor Summary
RuntimeTestWalker(org.aspectj.weaver.tools.ShadowMatch shadowMatch)
           
 
Method Summary
 boolean testsSubtypeSensitiveVars()
          If the test uses any of the this, target, at_this, at_target, and at_annotation vars, then it tests subtype sensitive vars.
 boolean testThisInstanceOfResidue(Object thiz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeTestWalker

public RuntimeTestWalker(org.aspectj.weaver.tools.ShadowMatch shadowMatch)
Method Detail

testsSubtypeSensitiveVars

public boolean testsSubtypeSensitiveVars()
If the test uses any of the this, target, at_this, at_target, and at_annotation vars, then it tests subtype sensitive vars.


testThisInstanceOfResidue

public boolean testThisInstanceOfResidue(Object thiz)

The Spring Framework

Copyright © 2002-2007 The Spring Framework.