Vineet Reynolds created FORGE-1930:
--------------------------------------
Summary: Create an API for producing String representations of Roaster model
objects
Key: FORGE-1930
URL:
https://issues.jboss.org/browse/FORGE-1930
Project: Forge
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Parsers / File Manipulation
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).
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)