UNPKG

@atomist/sdm-pack-spring

Version:

Atomist software delivery machine extension pack for Spring and Spring Boot applications

24 lines (23 loc) 686 B
import { CodeTransform } from "@atomist/sdm"; /** * Add the given annotation to the given class. * Does not add an import or attempt to unpack annotation * Do nothing if not found * @return {CodeTransform} */ export declare function addAnnotationToClassRaw(opts: { sourceFilePath: string; className: string; annotationName: string; }): CodeTransform; /** * Add the given annotation to the given class. * Does not add an import or attempt to unpack annotation * Do nothing if not found * @return {CodeTransform} */ export declare function addAnnotationToClass(opts: { sourceFilePath: string; className: string; annotationFqn: string; }): CodeTransform;