How does new configuration name resolved to the create method in configurations DSL?

configurations {
//create a config

How is “myconfig” resolved to create(“myconfig”)

what general rule is at play?

I appreciate any pointers.

Further more, in addition to the syntactical shortcuts provided by Groovy, what additional rules are at play in resolving method names from strings in DSL? where will I look in the gradle source code to further investigate.

This is previously discussed

This item is researched here: Understanding Gradle Configurations