partial patch for inner class method search

Alexandre Petit-Bianco apbianco@cygnus.com
Tue Apr 24 17:48:00 GMT 2001


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



More information about the Java mailing list