jasco.runtime.aspect
Class PCutpointConstructorTarget

java.lang.Object
  extended by jasco.runtime.aspect.PCutpointConstructorApplicationDesignator
      extended by jasco.runtime.aspect.PCutpointConstructorTarget
All Implemented Interfaces:
java.lang.Cloneable

public class PCutpointConstructorTarget
extends PCutpointConstructorApplicationDesignator

Author:
Wim TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
 
Fields inherited from class jasco.runtime.aspect.PCutpointConstructorApplicationDesignator
NEWLINE, TAB
 
Constructor Summary
PCutpointConstructorTarget(PCutpointConstructorApplicationDesignator param, PCutpointConstructorApplicationDesignator param2)
           
PCutpointConstructorTarget(java.lang.String param)
           
 
Method Summary
 boolean eval(MethodJoinpoint jp, java.util.Hashtable mappings, boolean forJutta)
          Evaluates to true when the pointcut triggers
 java.lang.String generateCreateCode(java.lang.String argname)
           
 java.lang.Class getTargetClass()
           
 javassist.CtClass getTargetClassJavassist()
           
 java.lang.String getTargetClassName()
           
protected  void initTargetClass()
           
protected  void initTargetClassJavassist()
           
 java.lang.String toDescString()
           
 
Methods inherited from class jasco.runtime.aspect.PCutpointConstructorApplicationDesignator
allPointcuts, checkAnnotation, deepCopy, doNotCache, dontLoadClasses, generateCreateCode, getNextArgName, getParameter, getParameter2, getRuntimeContext, isRegularExp, removeAnnotation, resetArgNames, setParameter, setParameter2, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PCutpointConstructorTarget

public PCutpointConstructorTarget(java.lang.String param)
Parameters:
param -

PCutpointConstructorTarget

public PCutpointConstructorTarget(PCutpointConstructorApplicationDesignator param,
                                  PCutpointConstructorApplicationDesignator param2)
Parameters:
param -
param2 -
Method Detail

initTargetClassJavassist

protected void initTargetClassJavassist()

initTargetClass

protected void initTargetClass()

eval

public boolean eval(MethodJoinpoint jp,
                    java.util.Hashtable mappings,
                    boolean forJutta)
Description copied from class: PCutpointConstructorApplicationDesignator
Evaluates to true when the pointcut triggers

Specified by:
eval in class PCutpointConstructorApplicationDesignator
Parameters:
jp - current joinpoint
mappings - from variables to concrete method signatures, fe: 1 -> * *(*), 2-> void test.main.Main.run()
forJutta - is this for analyzing jutta, meaning is this runtimecontext a static context. Fe methods in cflow might change, target might change. The current method does not change however.
Returns:

generateCreateCode

public java.lang.String generateCreateCode(java.lang.String argname)
Specified by:
generateCreateCode in class PCutpointConstructorApplicationDesignator

toDescString

public java.lang.String toDescString()
Specified by:
toDescString in class PCutpointConstructorApplicationDesignator

getTargetClassName

public java.lang.String getTargetClassName()

getTargetClassJavassist

public javassist.CtClass getTargetClassJavassist()

getTargetClass

public java.lang.Class getTargetClass()