public abstract class BaseGenerator extends Object
Base class for groovy-contracts code generators.
Modifiers | Name | Description |
---|---|---|
static String |
INVARIANT_CLOSURE_PREFIX |
|
static String |
META_DATA_USE_INLINE_MODE |
Type Params | Return Type | Name and description |
---|---|---|
|
public static String |
getInvariantMethodName(ClassNode classNode)
|
|
public static MethodNode |
getInvariantMethodNode(ClassNode classNode)
|
classNode
- the ClassNode used to look up the invariant closure field
classNode
- the ClassNode used to look up the invariant closure field