[forge-issues] [JBoss JIRA] (FORGE-1691) Create JavaCompiledResource to support Roaster class file parsing
Lincoln Baxter III (JIRA)
issues at jboss.org
Wed Mar 19 18:20:10 EDT 2014
Lincoln Baxter III created FORGE-1691:
-----------------------------------------
Summary: Create JavaCompiledResource to support Roaster class file parsing
Key: FORGE-1691
URL: https://issues.jboss.org/browse/FORGE-1691
Project: Forge
Issue Type: Feature Request
Components: Parsers / File Manipulation
Affects Versions: 2.2.0.Final
Reporter: Lincoln Baxter III
lincolnthree, here is the final JavaResource interface: http://paste2.org/cIKJ48Hm
lincolnthree
6:08 gastaldi: why accept javasource and return T extends javatype?
gastaldi
6:09 because JavaSource is a Source and JavaType can be anything
6:09 hmm
6:09 yeah, that's weird
6:09 a JavaType should allow its contents to be saved
6:10 even if it's a binary one
lincolnthree
6:10 gastaldi: ah makes sense!
6:10 very good
mbenson
6:11 but then does a JavaResource *not* necessarily correspond to a .java file?
gastaldi
6:12 now it can correspond to a .class file
6:12 also
6:12 hmmm
6:13 perhaps we should have a JavaBinaryResource instead
lincolnthree
6:13 yeah probably
gastaldi
6:13 JavaCompiledResource
lincolnthree
6:13 +1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-issues
mailing list