Community
Participate
Working Groups
Currently in MutableClassDeclaration there are only addField/addMethod/addConstructor etc, which can only add the new element to the last of the class. It would be useful to allow specifying insertion order when adding new elements. One use case is a @Log AA which adds a static field LOG to target class, which would be preferred to be the first field, since initialization of other fields may invoke LOG methods, thus LOG needs to be initialized first.