Groups
Groups
Sign in
Groups
Groups
JavaParser
Conversations
About
Send feedback
Help
Anonymous instanciation
22 views
Skip to first unread message
Erik
unread,
Mar 27, 2012, 2:57:35 PM
3/27/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JavaParser
Hello there from Canada!
I've created a VoidVisitiorAdaptor and have overwritten
visit(MethodCallExpr)'s.
Everything's working fine with the exception of code like so (where
anonymous classes are involved):
<snip>
this.executor.execute(new Runnable()
{
@Override
public void run()
{
blah(blahArg);
}
});
</snip>
Seems like overriding only "visit(MethodCallExpr)" will never visit
"blah(blahArg)".
Bug? Operator error? Do I need to overwrite another visit method?
Any help would be appreciated!
Thank you,
-Erik
Reply all
Reply to author
Forward
0 new messages