{
try
{
if (!(node.getBehavior() instanceof ASTMethod)) return Boolean.FALSE;
ASTMethod astMethod = (ASTMethod) node.getBehavior();
// do simple checks to avoid loading CtClasses
if (astMethod.getClazz().isSimple())
{
if (!astMethod.getClazz().matches(call.getClassName())) return Boolean.FALSE;
if (!astMethod.getMethodIdentifier().isAnnotation())
{
if (!astMethod.getMethodIdentifier().matches(call.getMethodName())) return Boolean.FALSE;
}
}
CtMethod calledMethod = call.getMethod();
Advisor calledAdvisor = AspectManager.instance().getTempClassAdvisor(calledMethod.getDeclaringClass());
MethodMatcher methodMatcher = new MethodMatcher(calledAdvisor, calledMethod, null);