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.

Bug 185373 - @ignored methods and properties should not be offered by autocompletion
Summary: @ignored methods and properties should not be offered by autocompletion
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-03 17:10 UTC by adam.zivner
Modified: 2012-04-10 12:12 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description adam.zivner 2010-05-03 17:10:47 UTC
Hi, in my project I have this class hierarchy:

A extends B extends C extends D

A has some properties which are used by B so these properties must be at least "protected". However, C and D do not use these properties and I'd like NetBeans won't offer me them in autocomplete.

In PHP you can't override (at least in direction protected => private) property visibility in subclasses so I tried to solve this on phpDocumentor level using @ignore (or possibly @access) keywords.

But it does not work. 

I'm quite sure that there are other use cases which would benefit from this feature - if you implement e.g. iterator interface, you have bunch of visible methods which you won't ever call directly.
Comment 1 adam.zivner 2010-05-03 17:11:35 UTC
Originally reported here: http://forums.netbeans.org/topic26840.html
Comment 2 Filip Zamboj 2010-09-15 12:31:23 UTC
batch reassigning