abc.weaving.weaver
Class AroundWeaver.Util
java.lang.Object
abc.weaving.weaver.AroundWeaver.Util
- Enclosing class:
- AroundWeaver
public static class AroundWeaver.Util
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AroundWeaver.Util
public AroundWeaver.Util()
newSwitchStmt
public static Stmt newSwitchStmt(Value key,
java.util.List lookupValues,
java.util.List targets,
Unit defaultTarget)
validateMethod
public static void validateMethod(SootMethod method)
printMethod
public static java.lang.String printMethod(SootMethod m)
isAroundAdviceMethod
public static boolean isAroundAdviceMethod(SootMethod method)
isAroundAdviceMethodName
public static boolean isAroundAdviceMethodName(java.lang.String methodName)
isProceedMethodName
public static boolean isProceedMethodName(java.lang.String methodName)
getParameterLocals
public static java.util.List getParameterLocals(Body body)
createNewInvokeExpr
public static InvokeExpr createNewInvokeExpr(InvokeExpr old,
java.util.List newArgs,
java.util.List newTypes)
- Creates a new InvokeExpr based on an existing one but with new arguments.