~/talk

Hot and spicy Java with Lombok. Live!

Talkat JavaDay Lviv 2016 · on Friday, 2016-07-22· [java]
links:none on file
slides:none on file

Demo shows how Lombok generates constructors, getters/setters, @Builder and other patterns at compile time via annotation processors (javac and Eclipse Java compiler), plus the IDE plugin for completion; using delombok reveals the actual bytecode and produced code. A 3.7KB whiskey class shrinks about fourfold after annotations. Features shown: @Data/@Value, @Accessors, @Singular, @Synchronized, @SneakyThrows, logging annotations. Warnings: equals/hashCode changes, hidden method modifications, need to enable annotation processing and support two compilers, and use magic cautiously.

AI-written summary · about

  1. 0:00Introduction
  2. 4:41What is boilerplate
  3. 10:17What is Lombok
  4. 14:29Immutable objects
  5. 17:16Builder and static methods
  6. 20:50Creating class Bar
  7. 24:41Java 9 and @val
  8. 27:53When not to use @val
  9. 30:24Method code modification
  10. 34:17Sneaky throws and exceptions
  11. 39:01Lombok pros and cons
  12. 43:16Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.