~/talk

Metaprogramming With The Groovy Runtime - Part 1 of 2

Talkat Great Indian Developer Summit 2015 · 2015-04-21..04-24· [java]
links:none on file
slides:none on file

Covers concrete Groovy runtime metaprogramming: demonstrates the Meta Object Protocol (MOP), builds a mini-Expando with TDD (Spock) and shows setProperty/getProperty and methodMissing/setProperty/getProperty hooks handling made-up properties and dynamic method calls; shows closures with delegates to implement DSLs and how to add or replace methods on Java classes (String) at runtime. All demos run in the IDE with passing tests and live examples that actually execute the behaviors described.

AI-written summary · about

  1. 0:00Start
  2. 1:08Meta Programming with the Groovy Runtime
  3. 2:24Run Time Metaprogramming
  4. 3:55What Is Meta Programming
  5. 5:50Groovy's Runtime Meta Programming Capabilities
  6. 6:12Dynamic Dispatch Mechanism
  7. 7:39Intercept Method Calls
  8. 11:04Assertions
  9. 14:35Meta Object Protocol
  10. 15:29Set Property
  11. 18:38Test-Driven Development
  12. 28:37Test Failed
  13. 35:31Add Methods to Classes at Runtime
  14. 40:38Missing Method Exception
  15. 45:25Code Example
  16. 52:27Adding Methods to Java Classes
  17. 54:47Replacing Existing Methods
~/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.