[
https://issues.apache.org/jira/browse/NETBEANS-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16324850#comment-16324850
]
Daniel Trebbien commented on NETBEANS-252:
------------------------------------------
I created PR 364 to fix this issue:
https://github.com/apache/incubator-netbeans/pull/364
> Code Generator unable to add method to enum constants
> -----------------------------------------------------
>
> Key: NETBEANS-252
> URL: https://issues.apache.org/jira/browse/NETBEANS-252
> Project: NetBeans
> Issue Type: Bug
> Components: java - Source
> Reporter: Jan Lahoda
> Assignee: Jan Lahoda
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Based on:
> https://netbeans.org/bugzilla/show_bug.cgi?id=271633
> reported by [~cowwoc]
> Consider code like this:
> ---
> package javaapplication1;
> public enum E {
> A
> {
> };
> }
> ---
> Place the caret between the { } of the enum constant, invoke code completion
> and try to override toString(). This will fail, and the method won't be added.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
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