Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335108

Summary: Knowing which class/enum "super" refers to
Product: [Eclipse Project] JDT Reporter: arlindolima
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description arlindolima CLA 2011-01-23 07:55:41 EST
Build Identifier: M20100909-0800

The way the "super" keyword is being treated, there is not a convenient way to know to which class/enum, "super" refers to. This would be a very desirable feature.

It is possible to know this information for "this", so I don't see why it should be different for "super". I would recommend adding a new binding to the "super" nodes (SuperFieldAccess, SuperMethodInvocation and SuperConstructorInvocation).

Reproducible: Always