Skip to content

ElderMael/annotation-rugs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

add-annotation-to-type

Build Status

This Rug project contains an Atomist Rug archive project

Rugs

AddAnnotationToEveryTypeInPackage

a rug that adds an annotation to every Java type in a package

Parameters

This Rug takes following parameters.

Name Required Default Description
packageOfTypesToAnnotate Yes com.example.dtos
annotationPackage Yes lombok
annotationName Yes Builder

Running

Run this Rug as follows:

$ rug edit "eldermael:add-annotation-to-type:AddAnnotationToEveryTypeInPackage" -a 0.1.0 packageOfTypesToAnnotate=com.example annotationPackage=lombok annotationName=Builder

It adds an annotation type to every type in the package you specify

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published