jasco.runtime
Class RuntimeContext

java.lang.Object
  extended by jasco.runtime.RuntimeContext

public class RuntimeContext
extends java.lang.Object


Constructor Summary
RuntimeContext(MethodJoinpoint jascoMethod)
           
RuntimeContext(java.lang.String calledMethod, MethodJoinpoint jascoMethod)
           
RuntimeContext(java.lang.String calledMethod, MethodJoinpoint jascoMethod, boolean isExecution)
           
 
Method Summary
 boolean containsMethodName(ISignatureMatcher matcher)
           
 boolean containsMethodName(MethodSignature sig)
           
 boolean containsMethodName(gnu.regexp.RE re)
           
 java.lang.annotation.Annotation[] getAnnotations()
           
 java.lang.String getCalledMethod()
           
protected  java.lang.String[] getCflow()
           
 MethodJoinpoint getJP()
           
static java.lang.String[] getStackContents()
          LDBN 19-7-2005.
 java.lang.Class getStaticClass()
           
 java.lang.Object getTargetObject()
           
protected  void initCflow()
           
 boolean isCall()
           
 boolean isCalledMethod(gnu.regexp.RE methodName)
           
 boolean isDirectlyCalled(ISignatureMatcher matcher)
           
 boolean isDirectlyCalled(MethodSignature sig)
           
 boolean isDirectlyCalled(gnu.regexp.RE re)
           
 boolean isExecution()
           
protected static boolean isRegularExp(java.lang.String s)
           
static java.lang.String makeGNUReg(java.lang.String s)
           
 void setCalledMethod(java.lang.String methodName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeContext

public RuntimeContext(java.lang.String calledMethod,
                      MethodJoinpoint jascoMethod)

RuntimeContext

public RuntimeContext(java.lang.String calledMethod,
                      MethodJoinpoint jascoMethod,
                      boolean isExecution)

RuntimeContext

public RuntimeContext(MethodJoinpoint jascoMethod)
Method Detail

getTargetObject

public java.lang.Object getTargetObject()

getAnnotations

public java.lang.annotation.Annotation[] getAnnotations()

getStaticClass

public java.lang.Class getStaticClass()

getJP

public MethodJoinpoint getJP()

isCall

public boolean isCall()

isExecution

public boolean isExecution()

initCflow

protected void initCflow()

getCflow

protected java.lang.String[] getCflow()

containsMethodName

public boolean containsMethodName(MethodSignature sig)

containsMethodName

public boolean containsMethodName(gnu.regexp.RE re)

isDirectlyCalled

public boolean isDirectlyCalled(gnu.regexp.RE re)

isDirectlyCalled

public boolean isDirectlyCalled(MethodSignature sig)

getCalledMethod

public java.lang.String getCalledMethod()

isCalledMethod

public boolean isCalledMethod(gnu.regexp.RE methodName)

setCalledMethod

public void setCalledMethod(java.lang.String methodName)

isRegularExp

protected static boolean isRegularExp(java.lang.String s)

makeGNUReg

public static java.lang.String makeGNUReg(java.lang.String s)

containsMethodName

public boolean containsMethodName(ISignatureMatcher matcher)
Parameters:
matcher -
Returns:

isDirectlyCalled

public boolean isDirectlyCalled(ISignatureMatcher matcher)
Returns:

getStackContents

public static java.lang.String[] getStackContents()
LDBN 19-7-2005. This method generates a array of strings with the stack contents