jasco.runtime
Class RuntimeContext
java.lang.Object
jasco.runtime.RuntimeContext
public class RuntimeContext
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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