{"action":"created","issue":{"url":"https://api.github.com/repos/mplushnikov/lombok-intellij-plugin/issues/547","repository_url":"https://api.github.com/repos/mplushnikov/lombok-intellij-plugin","labels_url":"https://api.github.com/repos/mplushnikov/lombok-intellij-plugin/issues/547/labels{/name}","comments_url":"https://api.github.com/repos/mplushnikov/lombok-intellij-plugin/issues/547/comments","events_url":"https://api.github.com/repos/mplushnikov/lombok-intellij-plugin/issues/547/events","html_url":"https://github.com/mplushnikov/lombok-intellij-plugin/issues/547","id":375666272,"node_id":"MDU6SXNzdWUzNzU2NjYyNzI=","number":547,"title":"@FieldNameConstants Incompatability with lombok 1.18.4","user":{"login":"alanachtenberg","id":5455379,"node_id":"MDQ6VXNlcjU0NTUzNzk=","avatar_url":"https://avatars0.githubusercontent.com/u/5455379?v=4","gravatar_id":"","url":"https://api.github.com/users/alanachtenberg","html_url":"https://github.com/alanachtenberg","followers_url":"https://api.github.com/users/alanachtenberg/followers","following_url":"https://api.github.com/users/alanachtenberg/following{/other_user}","gists_url":"https://api.github.com/users/alanachtenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/alanachtenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanachtenberg/subscriptions","organizations_url":"https://api.github.com/users/alanachtenberg/orgs","repos_url":"https://api.github.com/users/alanachtenberg/repos","events_url":"https://api.github.com/users/alanachtenberg/events{/privacy}","received_events_url":"https://api.github.com/users/alanachtenberg/received_events","type":"User","site_admin":false},"labels":[{"id":60179661,"node_id":"MDU6TGFiZWw2MDE3OTY2MQ==","url":"https://api.github.com/repos/mplushnikov/lombok-intellij-plugin/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-10-30T19:56:15Z","updated_at":"2018-12-27T21:32:17Z","closed_at":null,"author_association":"NONE","body":"### Short description\r\n1.18.4 introduced a breaking change for @FieldNameConstants. Generated fields are no longer prefix + fieldName + suffix and instead are generated as just fieldName inside an inner type.\r\n\r\nAfter delombok i am seeing\r\n`public static final String nullFIELDnull = \"field\";`\r\n\r\n### Expected behavior\r\nGenerated strings should belong in inner type as\r\n\r\n`public final class Fields{\r\n  public static final String FIELD = \"field\";\r\n}\r\n`\r\n\r\nSee unit test from lombok repo.\r\nBefore:\r\nhttps://github.com/rzwitserloot/lombok/blob/3d432c38d0cfeb36b8e7402eca56faaafcf7bac7/test/transform/resource/before/FieldNameConstantsBasic.java\r\n\r\nAfter:\r\nhttps://github.com/rzwitserloot/lombok/blob/3d432c38d0cfeb36b8e7402eca56faaafcf7bac7/test/transform/resource/after-delombok/FieldNameConstantsBasic.java\r\n\r\n\r\n### Version information\r\n\r\n * **IDEA Version:** Build #IU-182.4892.20, built on October 16, 2018\r\n\r\n * **JDK Version:** JRE: 1.8.0_152-release-1248-b19 amd64\r\n * **OS Type & Version:** Windows 7 6.1 * \r\n * **Lombok Plugin Version:** 0.22.2018.2\r\n * **Lombok Dependency Version:** 1.18.4\r\n\r\n### Steps to reproduce\r\n_What steps do we need to take to reproduce this issue?_\r\n\r\nSimply use @FieldNameConstants with latest version of lombok.\r\n\r\n\r\n### Sample project\r\n\r\n### Additional information\r\n\r\n### Stacktrace\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mplushnikov/lombok-intellij-plugin/issues/comments/450234902","html_url":"https://github.com/mplushnikov/lombok-intellij-plugin/issues/547#issuecomment-450234902","issue_url":"https://api.github.com/repos/mplushnikov/lombok-intellij-plugin/issues/547","id":450234902,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDIzNDkwMg==","user":{"login":"tfactor2","id":7229951,"node_id":"MDQ6VXNlcjcyMjk5NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/7229951?v=4","gravatar_id":"","url":"https://api.github.com/users/tfactor2","html_url":"https://github.com/tfactor2","followers_url":"https://api.github.com/users/tfactor2/followers","following_url":"https://api.github.com/users/tfactor2/following{/other_user}","gists_url":"https://api.github.com/users/tfactor2/gists{/gist_id}","starred_url":"https://api.github.com/users/tfactor2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfactor2/subscriptions","organizations_url":"https://api.github.com/users/tfactor2/orgs","repos_url":"https://api.github.com/users/tfactor2/repos","events_url":"https://api.github.com/users/tfactor2/events{/privacy}","received_events_url":"https://api.github.com/users/tfactor2/received_events","type":"User","site_admin":false},"created_at":"2018-12-27T21:32:17Z","updated_at":"2018-12-27T21:32:17Z","author_association":"NONE","body":"+1"}}
{"actor":{"display_login":"tfactor2"}}