This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: partial patch for inner class method search
Per Bothner writes:
> Alexandre Petit-Bianco <apbianco@cygnus.com> writes:
>
> > Per Bothner writes:
> > > Alex, could you take a look?
> > Yes, I will ASAP.
>
> Basically, all I need is:
Oops. Sorry for the delay.
> (1) How do I checked that the MethodName is a simple unqualified Identifier?
Use QUALIFIED_P () on the identifier.
> (2) If one is true, how do I get the name as an IDENTIFIER_NODE?
You use WFL_EXPR_NODE. So the code would go like:
name = EXPR_WFL_NODE (wfl);
if (QUALIFIED_P (name))
...
./A