[ 
https://issues.apache.org/jira/browse/NETBEANS-1861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16908048#comment-16908048
 ] 

Ales Seifert commented on NETBEANS-1861:
----------------------------------------

 
{code:java}
// code placeholder
/**
 * Sample Class
 * @method static int getCount(\Countable $obj)  Count elements of an object
 */
class SampleClass {
    //put your code here
}
{code}
It should display getCount() method as a static one in "Navigator"  also the 
getCount() method should be offered on context help when SampleClass::<Ctrl 
space> is pressed in editor.

 

> Recognize @method static for documenting static methods
> -------------------------------------------------------
>
>                 Key: NETBEANS-1861
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1861
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: php - Code Analysis, php - Editor, php - PHPDoc
>    Affects Versions: 8.2, 9.0, 10.0
>            Reporter: Ales Seifert
>            Priority: Major
>
> The static keyword is not documented at phpdoc.org yet but it is stated that 
> it was added in 2.9.1 or probably 3.x branch here:
> [https://github.com/phpDocumentor/phpDocumentor2/issues/822]
> Other recent IDEs seems to support this syntax already.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to