- org.codehaus.groovy.transform.ThreadInterruptibleASTTransformation
-
Allows "interrupt-safe" executions of scripts by adding Thread.currentThread().isInterrupted()
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.
- Authors:
- Cedric Champeau
- Hamlet D'Arcy
- See Also:
- ThreadInterrupt
- Since:
- 1.8.0
-
-
Methods Summary
-
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class AbstractInterruptibleASTTransformation |
createCondition, createInterruptStatement, getBooleanAnnotationParameter, getClassAnnotationParameter, getErrorMessage, getSourceUnit, internalError, setupTransform, type, visit, visitDoWhileLoop, visitForLoop, visitWhileLoop, wrapBlock |
class ClassCodeVisitorSupport |
visitMethod, visitField, visitProperty, visitConstructor, visitReturnStatement, visitForLoop, visitWhileLoop, visitDoWhileLoop, visitIfElse, visitExpressionStatement, visitAssertStatement, visitTryCatchFinally, visitSwitch, visitCaseStatement, visitBreakStatement, visitContinueStatement, visitThrowStatement, visitSynchronizedStatement, visitCatchStatement, visitBlockStatement, visitDeclarationExpression, visitClass, visitPackage, visitImports, visitAnnotations, visitClassExpression, visitPropertyExpression, visitConstantExpression, visitListExpression, visitClosureExpression, visitStaticMethodCallExpression, visitConstructorCallExpression, visitTernaryExpression, visitShortTernaryExpression, visitBinaryExpression, visitArgumentlistExpression, visitMethodCallExpression, visitTupleExpression, visitPrefixExpression, visitPostfixExpression, visitBooleanExpression, visitMapExpression, visitMapEntryExpression, visitRangeExpression, visitAttributeExpression, visitFieldExpression, visitMethodPointerExpression, visitGStringExpression, visitArrayExpression, visitSpreadExpression, visitSpreadMapExpression, visitNotExpression, visitUnaryMinusExpression, visitUnaryPlusExpression, visitBitwiseNegationExpression, visitCastExpression, visitClosureListExpression, visitBytecodeExpression, visitVariableExpression, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
-
-
Method Detail
-
protected String getErrorMessage()
- Summary:
Nested Field Constructor - Method
- | Detail:
Field Constructor - Method
Copyright © 2003-2014 The Codehaus. All rights reserved.