- org.codehaus.groovy.transform.TimedInterruptibleASTTransformation
@CompileStatic
@AutoFinal
@GroovyASTTransformation(phase: CompilePhase.CANONICALIZATION)
class TimedInterruptibleASTTransformation
extends AbstractASTTransformation
Allows "interrupt-safe" executions of scripts by adding timer expiration checks on loops (for, while, do) and first statement of closures. By default, also adds an interrupt check statement on the beginning of method calls.
-
See Also:
-
ThreadInterrupt
-
Since:
-
1.8.0
Constructor Summary
Methods Summary
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class AbstractASTTransformation |
addError, checkIncludeExcludeUndefinedAware, checkIncludeExcludeUndefinedAware, checkNotInterface, checkPropertyList, checkPropertyList, checkPropertyList, copyAnnotatedNodeAnnotations, copyAnnotatedNodeAnnotations, deemedInternalName, getAnnotationName, getMemberClassList, getMemberClassValue, getMemberClassValue, getMemberIntValue, getMemberStringList, getMemberStringValue, getMemberStringValue, getMemberValue, hasAnnotation, init, memberHasValue, shouldSkip, shouldSkip, shouldSkipOnDescriptorUndefinedAware, shouldSkipUndefinedAware, shouldSkipUndefinedAware, tokenize |
Constructor Detail
Method Detail