Logo
Explore Help
Register Sign In
tiennm99/lombok
Watch 1
Star 0
Fork 0
mirror of https://github.com/tiennm99/lombok.git synced 2026-09-15 08:19:15 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
2b0cd53d55d882fbc49d5f736c845353098eb34e
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: 1.27.0 Page: 14ms 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