public class OldVariableGenerationUtility extends Object
Central place where code generation for the old closure variable takes place.
| Modifiers | Name | Description | 
|---|---|---|
| static String | OLD_VARIABLES_METHOD | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | public static void | addOldVariableMethodNode(ClassNode classNode)Creates a synthetic method handling generation of the old variable map. | 
Creates a synthetic method handling generation of the old variable map. If a super class declares the same synthetic method it will be called and the results will be merged.
classNode -  which contains postconditions, so an old variable generating method makes sense here.