public Object visit(ASTHasField node, Object data)
{
if (getDeclaringClass() != null)
{
CtClass clazz = getDeclaringClass();
ASTField f = (ASTField) node.jjtGetChild(0);
return new Boolean(Util.has(clazz, f, advisor));
}
else
{
Class<?> clazz = getJavaDeclaringClass();
ASTField f = (ASTField) node.jjtGetChild(0);
return new Boolean(Util.has(clazz, f, advisor));
}
}