atomist-attic / rug

DEPRECATED Runtime for Rugs
GNU General Public License v3.0
53 stars 13 forks source link

Extend Java support to allow additions of new imports to a JavaFile, a new method implementation to a JavaClass and a new annotation to a method. #607

Closed russmiles closed 6 years ago

russmiles commented 7 years ago

I need to add a method implementation to a Java class, along with corresponding imports if necessary and any annotations to the new method if required.

russmiles commented 7 years ago

Specifically this requirement comes out of wanting to add a AlwaysSampler bean to an existing configuration class in order to turn on Spring Cloud Sleuth support.

alankstewart commented 7 years ago

@russmiles Was this intended to be implemented using JavaParser (i.e. Scala-based) or in TypeScript?