abc.weaving.matching
Class ShadowType

java.lang.Object
  extended by abc.weaving.matching.ShadowType
Direct Known Subclasses:
ConstructorCallShadowType, ExecutionShadowType, GetFieldShadowType, HandlerShadowType, MethodCallShadowType, PreinitializationShadowType, SetFieldShadowType

public abstract class ShadowType
extends java.lang.Object

Each possible joinpoint shadow type extends this class and registers a singleton instance with it; the sole purpose of the hierarchy is to provide something for the matcher to iterate over. For each ShadowType class there is a ShadowMatch class that is used to hold individual matching results.

Author:
Ganesh Sittampalam

Constructor Summary
ShadowType()
           
 
Method Summary
abstract  ShadowMatch matchesAt(MethodPosition pos)
          Find out if there is a join point shadow of the relevant type at the given MethodPosition, and if so return it
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShadowType

public ShadowType()
Method Detail

matchesAt

public abstract ShadowMatch matchesAt(MethodPosition pos)
Find out if there is a join point shadow of the relevant type at the given MethodPosition, and if so return it