mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-12 12:19:32 +00:00
[fixes #3529] Set real field initializer source
Eclipse copies the field initializer source code if it is a constant. For generated nodes we have to read it from the ast node and not from the source file.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package pkg;
|
||||
|
||||
import lombok.experimental.FieldNameConstants;
|
||||
|
||||
@FieldNameConstants
|
||||
public class Constants {
|
||||
String test;
|
||||
}
|
||||
Reference in New Issue
Block a user