fun visitAnnotations(node: AnnotatedNode) { super.visitAnnotations(node) for (annotation in node.getAnnotations()) { if (transforms.containsKey(annotation)) { targetNodes.add(arrayOf<ASTNode>(annotation, node)) } } }
Adds the annotation to the internal target list if a match is found .