- org.codehaus.groovy.transform.ConditionalInterruptibleASTTransformation
-
Allows "interrupt-safe" executions of scripts by adding a custom conditional
check 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
- Paul King
- See Also:
- ConditionalInterrupt
- 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, visitReturnStatement, visitProperty, visitConstructor, visitExpressionStatement, visitBlockStatement, visitClass, visitPackage, visitForLoop, visitSwitch, visitWhileLoop, visitDoWhileLoop, visitCatchStatement, visitAssertStatement, visitIfElse, visitCaseStatement, visitSynchronizedStatement, visitThrowStatement, visitDeclarationExpression, visitImports, visitBreakStatement, visitContinueStatement, visitTryCatchFinally, visitAnnotations, visitConstantExpression, visitListExpression, visitClassExpression, visitPropertyExpression, visitVariableExpression, visitTupleExpression, visitArgumentlistExpression, visitMethodCallExpression, visitClosureExpression, visitStaticMethodCallExpression, visitConstructorCallExpression, visitBinaryExpression, visitTernaryExpression, visitShortTernaryExpression, visitPostfixExpression, visitPrefixExpression, visitBooleanExpression, visitNotExpression, visitArrayExpression, visitMapExpression, visitMapEntryExpression, visitRangeExpression, visitSpreadExpression, visitSpreadMapExpression, visitMethodPointerExpression, visitUnaryMinusExpression, visitUnaryPlusExpression, visitBitwiseNegationExpression, visitCastExpression, visitAttributeExpression, visitFieldExpression, visitGStringExpression, visitClosureListExpression, visitBytecodeExpression, 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.