public class AnnotatedMethodCollector
Provides the way to collect all MethodNode that each node was annotated with AnnotationNode of a script.
Constructor and description |
---|
AnnotatedMethodCollector
(Set<String> annotatedMethodNames) Collects all MethodNode that each name is specified in the annotatedMethodNames
of a script file. |
Type Params | Return Type | Name and description |
---|---|---|
|
public Map<String, List<MethodNode>> |
getMethodNodes(String scriptContent)
|
|
public boolean |
isAnnotationNodeName(AnnotationNode annotationNode, Class<?> annotationClass) |
|
public boolean |
isAnnotationNotSkipped(AnnotationNode annotationNode) |
Collects all MethodNode that each name is specified in the annotatedMethodNames
of a script file.
annotatedMethodNames
- annotation class name. Eg: SetUp, TearDown...