@GroovyASTTransformation(phase = CompilePhase.INSTRUCTION_SELECTION) public class NullCheckASTTransformation extends AbstractASTTransformation
Handles generation of code for the
Modifiers | Name | Description |
---|---|---|
static ClassNode |
NULL_CHECK_TYPE |
Fields inherited from class | Fields |
---|---|
class AbstractASTTransformation |
RETENTION_CLASSNODE, sourceUnit |
Type Params | Return Type | Name and description |
---|---|---|
|
static boolean |
hasIncludeGenerated(ClassNode cNode) |
|
static ThrowStatement |
makeThrowStmt(String name) |
|
static void |
markAsProcessed(MethodNode mn) Mark a method as already processed. |
|
void |
visit(ASTNode[] nodes, SourceUnit source) |
Mark a method as already processed.
mn
- the method node to be considered already processed