External module "lib/java/transform/addAnnotationToClass"
Functions
addAnnotationToClass
- addAnnotationToClass(opts: object): CodeTransform
-
Parameters
-
opts: object
-
annotationFqn: string
-
className: string
-
sourceFilePath: string
Returns CodeTransform
addAnnotationToClassRaw
- addAnnotationToClassRaw(opts: object): CodeTransform
-
Parameters
-
opts: object
-
annotationName: string
-
className: string
-
sourceFilePath: string
Returns CodeTransform
Add the given annotation to the given class. Does not add an import or attempt to unpack annotation Do nothing if not found