Svatopluk Dedic created NETBEANS-6003:
-----------------------------------------

             Summary: Groovy code completion does not offer field constants for 
enum values
                 Key: NETBEANS-6003
                 URL: https://issues.apache.org/jira/browse/NETBEANS-6003
             Project: NetBeans
          Issue Type: Bug
            Reporter: Svatopluk Dedic


[https://github.com/micronaut-projects/micronaut-core/blob/3.0.x/http-server-netty/src/test/groovy/io/micronaut/http/server/netty/sse/ServerSentEventSpec.groovy#L94]

The member values of the annotation are evaluated compile-time into 
*ConstantExpressions* while the original *PropertyExpression* that would 
provide the proper Class context for the code completion is complete gone.

The resulting ConstantExpression even does not contain line/column information 
copied fro the original source; so it won't be properly matched in AST against 
the source.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to