Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-debug-dev] Breakpoints set in enclosing class from inner class editor fail


Try IType.getDeclaringType(). It's defined on IMember - you should be able to walk the declaring type chain.

Darin



Jared Burns <jared-eclipse@xxxxxxxxx>
Sent by: jdt-debug-dev-admin@xxxxxxxxxxx

03/14/2003 02:07 PM
Please respond to jdt-debug-dev

       
        To:        jdt-debug-dev@xxxxxxxxxxx
        cc:        
        Subject:        [jdt-debug-dev] Breakpoints set in enclosing class from inner class editor fail



http://bugs.eclipse.org/bugs/show_bug.cgi?id=34856

I haven't been able to find the API path to get from the IType to the
enclosing IType. If I ask for its parent, I get the package fragment root. If
I ask for its IType ancestor, it just returns itself.

Any thoughts?

- Jared
_______________________________________________
jdt-debug-dev mailing list
jdt-debug-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-debug-dev



Back to the top