jasco.runtime.aspect
Class HookHelper
java.lang.Object
jasco.runtime.aspect.HookHelper
public class HookHelper
- extends java.lang.Object
- Author:
- Wim
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HookHelper
public HookHelper()
definesAdvice
public static boolean definesAdvice(java.lang.Class clz,
java.lang.String adviceType)
getCopyName
public static java.lang.String getCopyName(java.lang.String hookname)
stripCopyName
public static java.lang.String stripCopyName(java.lang.String hookname)
definesAdvice
public static boolean definesAdvice(IHook cp,
java.lang.String adviceType)
getRefinableMethods
public static java.util.Vector getRefinableMethods(java.lang.Class hook)
getRefinableMethodNames
public static java.util.Vector getRefinableMethodNames(java.lang.Class hook)
isRefinableMethod
public static boolean isRefinableMethod(java.lang.reflect.Method method)
- Parameters:
method
-
- Returns:
getRefinableAnnotation
protected static java.lang.annotation.Annotation getRefinableAnnotation(java.lang.reflect.Method method)
isRefinableMethod
public static boolean isRefinableMethod(java.lang.Class hook,
MethodGenerator method)
hasAdviceAnnotation
public static boolean hasAdviceAnnotation(javassist.CtMethod method)