While the GDSL for the swing plugin defines all of the methods and their return types, it does not define any parameters. Therefore, all calls in IntelliJ show up as warnings.
There used to be a swingbuilder.gdsl in the IDEA groovy plugin of community edition source, but maybe GSDL isn't expressive enough for SwingBuilder because at some point in the history that file was removed and there are a pair of Java classes that implement this, the main one being:
This issue is my first introduction to GDSL (I didn't even know it existed prior to now), but I tried to with some GDSL that says that the GriffonView delegates to SwingBuilder. It only partially worked, I tried something like:
(I didn't know how to set up the ctx properly, so for testing I just used scriptSource with my script's name). I knew that the GDSL was triggering because all of the "real" methods appeared in the view like "registerWindows" but none of the dynamic methods (like "button").