This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Generates something with structure similar to the UserRole class generated by Spring Security Core Plugin | |
* Except "removeAll" methods, which were overloaded, have been replaced by separately named methods for each field | |
* representing a Joined Class | |
*/ | |
class GrailsJoinClassGenerator { | |
static String joinClassCode(JoinClassRep joinClassRep) { | |
String classInnerBlock = |