[JBoss JIRA] (FORGE-368) Return list of properties based on higher-level understanding
by Matt Benson (JIRA)
[ https://issues.jboss.org/browse/FORGE-368?page=com.atlassian.jira.plugin.... ]
Matt Benson resolved FORGE-368.
-------------------------------
Resolution: Duplicate Issue
FORGE-1342
> Return list of properties based on higher-level understanding
> -------------------------------------------------------------
>
> Key: FORGE-368
> URL: https://issues.jboss.org/browse/FORGE-368
> Project: Forge
> Issue Type: Feature Request
> Components: Parsers / File Manipulation
> Reporter: Richard Kennard
> Fix For: 2.x Future
>
>
> Hi guys,
> As I understand it, Forge has an understanding of your project that transcends Java's own understanding. So for example if I say...
> field string --named foo
> ...Forge knows I'm creating a property, and it creates getters and setters for that property. But later if I do...
> org.jboss.forge.parser.java.JavaClass.getMethods()
> ...then I get back just normal methods. I'll have to check their signature for 'get' or 'set' to see if they're properties. Equally if I do...
> org.jboss.forge.parser.java.JavaClass.getFields()
> ...I get back just normal fields. I don't know if these are property fields (and if so, what their corresponding getter/setter methods are) or whether they're just internal fields (and should be ignored).
> Is there a recommended way to 'get back out' the list of properties for a class? Something that tells me a) the field; b) the getter; c) the setter?
> If it helps, for now I am using a rough implementation at: https://github.com/kennardconsulting/forge/blob/master/scaffold-metawidge...
--
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
10 years, 4 months
[JBoss JIRA] (FORGE-1592) Migrate the file monitor feature to JDK 7 WatchService
by George Gastaldi (JIRA)
George Gastaldi created FORGE-1592:
--------------------------------------
Summary: Migrate the file monitor feature to JDK 7 WatchService
Key: FORGE-1592
URL: https://issues.jboss.org/browse/FORGE-1592
Project: Forge
Issue Type: Feature Request
Components: Resources API
Affects Versions: 2.0.0.Final
Reporter: George Gastaldi
Priority: Optional
Fix For: 2.x Future
This has the advantage of avoiding dependency with commons-io and providing a smarter way to detect file changes instead of the current polling solution.
--
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
10 years, 4 months