]
George Gastaldi moved FORGE-1930 to ROASTER-27:
-----------------------------------------------
Project: Roaster (was: Forge)
Key: ROASTER-27 (was: FORGE-1930)
Component/s: API
(was: Parsers / File Manipulation)
Create an API for producing String representations of Roaster model
objects
---------------------------------------------------------------------------
Key: ROASTER-27
URL:
https://issues.jboss.org/browse/ROASTER-27
Project: Roaster
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: API
Reporter: Vineet Reynolds
Based on the [discussion
here|https://github.com/forge/core/pull/484/files#r14695944] it
would be a good idea to create a Roaster based API where snippets of code could be created
as String objects to be embedded in templates.
The snippets could be created with Roaster model objects. The new API would be
responsible for exporting the model as a String. The existing Roaster model may not be
good enough and require extension, since it assumes/expects the presence of a target or a
source to begin with (like a JavaClassSource or a Method or a Field all of which may not
be convenient to create).