[
https://issues.jboss.org/browse/FORGE-795?page=com.atlassian.jira.plugin....
]
George Gastaldi edited comment on FORGE-795 at 2/22/13 10:13 AM:
-----------------------------------------------------------------
From [~jjfraney]:
{quote}
AST is a component of javacore, but javacore is more than AST. So, it would be more
accurate to say: forge already uses a subset of JDT, the ast parser. Here is a short
tutorial:
http://www.vogella.com/articles/EclipseJDT/article.html
JavaCore's features seems to be a union of forge's source code features, and the
class inspection features (either from reflection or javaassit), and JavaCore component
has very close proximity to the eclipse AST parser already put to use by forge, and
assuming the requirements of forge java plugin can be met by eclipse javacore, and, I
think I read somewhere, there is prototype to integrate forge into eclipse, and also, the
forge team is open to refactoring the forge java model. It is my opinion, that a more
than a casual look into javacore, as either the implementation of, or a replacement to,
the forge java model api, is reasonable.
Here is the javacore project page:
http://www.eclipse.org/jdt/core/index.php
Here is the javacore api pages:
http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.jdt.doc.isv/ref...
{quote}
was (Author: gastaldi):
AST is a component of javacore, but javacore is more than AST. So, it would be more
accurate to say: forge already uses a subset of JDT, the ast parser. Here is a short
tutorial:
http://www.vogella.com/articles/EclipseJDT/article.html
JavaCore's features seems to be a union of forge's source code features, and the
class inspection features (either from reflection or javaassit), and JavaCore component
has very close proximity to the eclipse AST parser already put to use by forge, and
assuming the requirements of forge java plugin can be met by eclipse javacore, and, I
think I read somewhere, there is prototype to integrate forge into eclipse, and also, the
forge team is open to refactoring the forge java model. It is my opinion, that a more
than a casual look into javacore, as either the implementation of, or a replacement to,
the forge java model api, is reasonable.
Here is the javacore project page:
http://www.eclipse.org/jdt/core/index.php
Here is the javacore api pages:
http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.jdt.doc.isv/ref...
Create an Implementation of Forge Java Parser using Javassist CtClass
or Apache BCEL
------------------------------------------------------------------------------------
Key: FORGE-795
URL:
https://issues.jboss.org/browse/FORGE-795
Project: Forge
Issue Type: Story
Components: Parsers / File Manipulation
Reporter: Lincoln Baxter III
Fix For: 2.0.0.Alpha1
http://www.csg.is.titech.ac.jp/~chiba/javassist/html/javassist/CtClass.html
http://commons.apache.org/bcel/
--
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