Resolving unqualified names [message #626362] |
Tue, 08 April 2008 04:12 |
Eclipse User |
|
|
|
Hey,
Suppose I have the following Namespace/Package structure:
|-p
|-School
|-q
|-Teacher
|-talk()
Inside the talk() Operation, according to the specs, I can refer to School unqualified,
since School is in an enclosing Namespace of Teacher. I tried to resolve the School element by
querying q.members, but that doesn't find it. Reading the specs again, I understand why.
So I guess I need to manually walk up the Namespace Onion, and query each Namespaces members :-P to resolve that name? I couldn't find an API call that
already does that?
Felix
|
|
|
Powered by
FUDForum. Page generated in 0.04024 seconds