[JBoss JIRA] (FORGE-795) Create an Implementation of Forge Java Parser using Javassist CtClass or Apache BCEL
by George Gastaldi (JIRA)
[ 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
13 years, 2 months
[JBoss JIRA] (FORGE-795) Create an Implementation of Forge Java Parser using Javassist CtClass or Apache BCEL
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-795?page=com.atlassian.jira.plugin.... ]
George Gastaldi commented on FORGE-795:
---------------------------------------
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
13 years, 2 months
[JBoss JIRA] (FORGE-797) Scaffolding @Embaddable
by Michael Koitz (JIRA)
Michael Koitz created FORGE-797:
-----------------------------------
Summary: Scaffolding @Embaddable
Key: FORGE-797
URL: https://issues.jboss.org/browse/FORGE-797
Project: Forge
Issue Type: Feature Request
Components: Scaffold
Affects Versions: 1.2.1.Final
Environment: win 7, java 1.6_30, AS 7.1.1, JPA 2, Hibernate 4.1.7.Final
Reporter: Michael Koitz
Scaffolding should take the JPA2 annotations @Embeddable and @Embedded into account.
--
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
13 years, 2 months
[JBoss JIRA] (FORGE-794) Refactor PropertyCompleter from Java EE Impl to Forge Core
by Vineet Reynolds (JIRA)
Vineet Reynolds created FORGE-794:
-------------------------------------
Summary: Refactor PropertyCompleter from Java EE Impl to Forge Core
Key: FORGE-794
URL: https://issues.jboss.org/browse/FORGE-794
Project: Forge
Issue Type: Enhancement
Affects Versions: 1.2.1.Final
Reporter: Vineet Reynolds
Priority: Minor
The {{org.jboss.forge.spec.javaee.validation.completer.PropertyCompleter}} class is useful as a generic property completer.
It has nothing specific to the Java EE APIs, and hence could be moved to Forge Core from the Java EE impl project, where it could be exposed to all plugins.
--
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
13 years, 2 months