What does the dynamic method add to Groovy / IntelliJ?

When I use the undefined method in Groovy / IntelliJ and I press alt-Enter, I get the following option: β€œAdd a dynamic method”. When I do this, I get windows with dynamic properties with a new dynamic property.

I do not understand how to use this dynamic property / method. Where to define it? What does it mean?

+3
source share
1 answer

This documentation page explains this.

Basically, you can use this method to tell the IDE about the dynamic properties or methods that you configured, and then execute the syntax and code completion.

, , , , , .

+6

Source: https://habr.com/ru/post/1786878/


All Articles