Package org.apache.groovy.test.transform
Class NotYetImplementedASTTransformation
java.lang.Object
org.codehaus.groovy.transform.AbstractASTTransformation
org.apache.groovy.test.transform.NotYetImplementedASTTransformation
- All Implemented Interfaces:
ASTTransformation,ErrorCollecting
Generates code for the
@NotYetImplemented annotation.- See Also:
-
Field Summary
Fields inherited from class org.codehaus.groovy.transform.AbstractASTTransformation
RETENTION_CLASSNODE, sourceUnit -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvisit(ASTNode[] nodes, SourceUnit source) Rewrites the annotated method so that unexpected success becomes a failure and any thrown exception is treated as the expected outcome.Methods inherited from class org.codehaus.groovy.transform.AbstractASTTransformation
addError, checkIncludeExcludeUndefinedAware, checkIncludeExcludeUndefinedAware, checkNotInterface, checkPropertyList, checkPropertyList, checkPropertyList, copyAnnotatedNodeAnnotations, copyAnnotatedNodeAnnotations, deemedInternal, deemedInternalName, getAnnotationName, getMemberClassList, getMemberClassValue, getMemberClassValue, getMemberIntValue, getMemberStringList, getMemberStringValue, getMemberStringValue, getMemberValue, hasAnnotation, init, markAsInternal, memberHasValue, shouldSkip, shouldSkip, shouldSkip, shouldSkipOnDescriptorUndefinedAware, shouldSkipUndefinedAware, shouldSkipUndefinedAware, shouldSkipUndefinedAware, tokenize
-
Constructor Details
-
NotYetImplementedASTTransformation
public NotYetImplementedASTTransformation()
-
-
Method Details
-
visit
Rewrites the annotated method so that unexpected success becomes a failure and any thrown exception is treated as the expected outcome.- Parameters:
nodes- the annotation and annotated method nodessource- the source unit currently being transformed
-