Lombok provides @Slf4j annotation to add a logger (and similar ones for other logging frameworks).
@AvinashGA7 жыл бұрын
This video introduced me to the world of lombak :) thanks
@averydavis85687 жыл бұрын
The AspectJAutoProxy black magic 'oops!' is enough to convince me to stick with the native AspectJ libs and runtime weaving JVM agent. Perhaps a later Spring release has addressed this?
@adamlives4 жыл бұрын
Seems that @PostConstruct happens and the aspect is not called. If you call it directly as in demo.begin() the aspect is triggered. ¯\_(ツ)_/¯
@tobias40967 жыл бұрын
First off, your content is great! If I could make one suggestion: please, please, talk a little slower :)
@milosmisic38796 жыл бұрын
You have the playback speed option. Works like a charm.
@privettoli7 жыл бұрын
+SpringDeveloper, Josh, why you don't use @FieldsDefault(level = PRIVATE)?🤔
@javasoccernut7 жыл бұрын
gotta a link? I tried googling it. :(
@zapl807 жыл бұрын
It's lombok, still in "experimental": projectlombok.org/features/experimental/FieldDefaults.html - I don't use that annotation either because a) too much work, adding those few "private"s isn't that much and b) bad for code clarity. Not having "private" will always looks to me like fields aren't private.
@javasoccernut7 жыл бұрын
ah. ok. I didnt see it when i clicked around in Lombok.