@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 |
---|---|---|
|
public static boolean |
hasIncludeGenerated(ClassNode cNode) |
|
public static ThrowStatement |
makeThrowStmt(String variableName) |
|
public static void |
markAsProcessed(MethodNode mn) Mark a method as already processed. |
|
public void |
visit(ASTNode[] nodes, SourceUnit source) |
Mark a method as already processed.
mn
- the method node to be considered already processed