// for execution() pointcut, this is equals to CALLEE info
ReflectionInfo info = context.getWithinReflectionInfo();
ClassInfo classInfo = (info instanceof MemberInfo) ?
((MemberInfo) info).getDeclaringType() : (ClassInfo) info;
Node childNode = node.jjtGetChild(0);
MethodInfo[] methodInfos = classInfo.getMethods();
for (int i = 0; i < methodInfos.length; i++) {
if (Boolean.TRUE.equals(childNode.jjtAccept(this, methodInfos[i]))) {
return Boolean.TRUE;
}
}
ConstructorInfo[] constructorInfos = classInfo.getConstructors();
for (int i = 0; i < constructorInfos.length; i++) {
if (Boolean.TRUE.equals(childNode.jjtAccept(this, constructorInfos[i]))) {
return Boolean.TRUE;
}
}
return Boolean.FALSE;