This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In order to fix issue #249449, we need to get a list of all implemented interfaces for a class. The current JPDAClassType does not have methods to get that information from. A method like getAllInterfaces() is necessary. Also the implementation class already getSubClasses() and isInstanceOf() methods, that are accessed via reflection. These should be added to public APIs as well.
Created attachment 154471 [details] The proposed API change
Created attachment 154472 [details] The API implementation
Please review this simple API enhancement.
Created attachment 154477 [details] The proposed API change I've added a new patch with only added getReflectedType() method to ClassVariable class. The implementation remains the same.
Created attachment 154478 [details] Full test of JPDAClassType class A full test of the JPDAClassType API, which tests the ClassVariable.getReflectedType() as well.
If there are no objections, I'll integrate this tomorrow.
Pushed as changeset: 289592:b58a6864e273 http://hg.netbeans.org/core-main/rev/b58a6864e273
Integrated into 'main-silver', will be available in build *201507170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b58a6864e273 User: mentlicher@netbeans.org Log: #253295: API for retrieving of implemented and extended types.