@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 |
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) |
Methods inherited from class | Name |
---|---|
class AbstractASTTransformation |
addError, checkPropertyList, checkPropertyList, checkPropertyList, deemedInternalName, getAnnotationName, getMemberClassList, getMemberClassValue, getMemberClassValue, getMemberIntValue, getMemberStringList, getMemberStringValue, getMemberStringValue, getMemberValue, hasAnnotation, memberHasValue, shouldSkip, shouldSkip, shouldSkipOnDescriptorUndefinedAware, shouldSkipUndefinedAware, shouldSkipUndefinedAware, tokenize |
Mark a method as already processed.
mn
- the method node to be considered already processed