jasco.runtime.aspect
Class PCutpointConstructorApplicationDesignator
java.lang.Object
jasco.runtime.aspect.PCutpointConstructorApplicationDesignator
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- PCutpointConstructorAnd, PCutpointConstructorArgs, PCutpointConstructorCall, PCutpointConstructorCflow, PCutpointConstructorExecute, PCutpointConstructorExecutionEqualsJoinpointHost, PCutpointConstructorExecutionHost, PCutpointConstructorMatchAll, PCutpointConstructorNot, PCutpointConstructorOr, PCutpointConstructorPHost, PCutpointConstructorRegular, PCutpointConstructorTarget, PCutpointConstructorWithincode
public abstract class PCutpointConstructorApplicationDesignator
- extends java.lang.Object
- implements java.lang.Cloneable
Abstract super class for all pointcut elements in hook constructors.
Field Summary |
static java.lang.String |
NEWLINE
|
static java.lang.String |
TAB
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NEWLINE
public static final java.lang.String NEWLINE
TAB
public static final java.lang.String TAB
- See Also:
- Constant Field Values
PCutpointConstructorApplicationDesignator
public PCutpointConstructorApplicationDesignator(PCutpointConstructorApplicationDesignator param)
PCutpointConstructorApplicationDesignator
public PCutpointConstructorApplicationDesignator(PCutpointConstructorApplicationDesignator param,
PCutpointConstructorApplicationDesignator param2)
getParameter
public PCutpointConstructorApplicationDesignator getParameter()
getParameter2
public PCutpointConstructorApplicationDesignator getParameter2()
getRuntimeContext
public RuntimeContext getRuntimeContext(MethodJoinpoint jp)
dontLoadClasses
public boolean dontLoadClasses(MethodJoinpoint jp)
eval
public abstract boolean eval(MethodJoinpoint jp,
java.util.Hashtable mappings,
boolean forJutta)
- Evaluates to true when the pointcut triggers
- Parameters:
jp
- current joinpointmappings
- 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 abstract java.lang.String generateCreateCode(java.lang.String argname)
generateCreateCode
public java.lang.String generateCreateCode()
checkAnnotation
public boolean checkAnnotation(java.lang.String signature,
RuntimeContext context)
removeAnnotation
public java.lang.String removeAnnotation(java.lang.String signature)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
resetArgNames
public void resetArgNames()
getNextArgName
protected java.lang.String getNextArgName()
isRegularExp
protected static boolean isRegularExp(java.lang.String s)
toDescString
public abstract java.lang.String toDescString()
doNotCache
public boolean doNotCache()
allPointcuts
public java.util.Vector allPointcuts()
deepCopy
public PCutpointConstructorApplicationDesignator deepCopy()
setParameter
public void setParameter(PCutpointConstructorApplicationDesignator host)
setParameter2
public void setParameter2(PCutpointConstructorApplicationDesignator host)