Logo
Explore Help
Register Sign In
tiennm99/lombok
Watch 1
Star 0 Fork 0
mirror of https://github.com/tiennm99/lombok.git synced 2026-10-03 09:13:36 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
d4e5eb004066720d235cba7e474af088b6b9ce85
lombok/test/transform/resource/messages-ecj/ToStringWithConstantRefInOf.java.messages
T
Reinier Zwitserloot f540335ef9 [Fixes #1656] Lombok would silently do the wrong thing when using references to public static final String fields, instead of actual string literals, there where you can specify strings in lombok annotation parameters, such as @ToString(of = MyClass.CONSTANT_FIELD). We can’t really fix it, but at least now lombok will error when you do that and describe in detail what’s going wrong.
2018-04-17 04:19:37 +02:00

2 lines
102 B
Plaintext
Raw Blame History

4 You must use constant literals in lombok annotations; they cannot be references to (static) fields.
Reference in new issue View Git Blame Copy Permalink
Powered by Gitea Version: 28.0.0 Page: 26ms Template: 2ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API