[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1203) EL autocompletion prompts static members

Gavin King (JIRA) jira-events at lists.jboss.org
Thu Nov 1 19:50:44 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-1203?page=comments#action_12385630 ] 
            
Gavin King commented on JBIDE-1203:
-----------------------------------

My understanding is that EL does not support static methods.

But even if it did, we still would not want to autocomplete them. There is never (that I can think of) a good reason to call a static method on an *instance*. It's just confusing clutter to show it in the autocompletion.

> EL autocompletion prompts static members
> ----------------------------------------
>
>                 Key: JBIDE-1203
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1203
>             Project: JBoss Tools
>          Issue Type: Bug
>          Components: JSF
>    Affects Versions: 2.0.0.Beta4
>            Reporter: Gavin King
>         Assigned To: Victor Rubezhny
>             Fix For: 2.0.0.CR1
>
>
> Autocomplete pops up "instance" and "instance()" as options for actor, conversation, etc.
> I'm not sure exactly what the EL spec says about static members, but I  don't think we should offer them as an option in the UI.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list