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.
Code: ------------8<------------ class AAA { public: class inner; }; class AAA::inner { virtual void foo() = 0; }; class BBB : public AAA::inner { void foo(); }; class CCC : public BBB { void foo(); }; ------------8<------------ Annotations on glyph: [No annotation here] virtual void foo() = 0; // at AAA::inner [Overrides and overriden] void foo(); // at BBB [Overrides...] void foo(); // at CCC Expectations: The overriden annotation should be shown in AAA::inner Note that annotations to code below are shown correctly ------------8<------------ class AAA { public: class inner { virtual void foo() = 0; }; }; class BBB : public AAA::inner { void foo(); }; class CCC : public BBB { void foo(); }; ------------8<------------
Code: ------------8<------------ class AAA { public: class inner; }; class AAA::inner { virtual void foo() = 0; }; class BBB : public AAA::inner { void foo(); }; ------------8<------------ class AAA::inner does not have "Is Extended" annotation
Created attachment 163743 [details] Partial fix
Partial fix still has issues (click on annotation: 3 BBB links).
Integrated into 'main-silver', will be available in build *201703150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/9201c8ab0d1e User: Ilia Gromov <ilia@netbeans.org> Log: Fixing #269823 - "Overriden" annotation is not shown for overriden methods of a nested class (transplanted from 17f3dcc300dcfea664dca3eb4630625391992530)
https://netbeans.org/bugzilla/show_bug.cgi?id=269823 Changesets: http://hg.netbeans.org/releases/rev/17f3dcc300dc # Fixing #269823 - "Overriden" annotation is not shown for overriden methods of a nested class http://hg.netbeans.org/releases/rev/5da13682257a # Tests for #269823 - "Overriden" annotation is not shown for overriden methods of a nested class
Verified in netbeans-8.2-20170421.