[
https://issues.jboss.org/browse/FORGE-1225?page=com.atlassian.jira.plugin...
]
George Gastaldi closed FORGE-1225.
----------------------------------
Resolution: Rejected
You need to use javaSource.getNestedClasses() for that.
getMembers() will return a list of all class members (fields, methods)
javaSource.getMembers() does not return enums
---------------------------------------------
Key: FORGE-1225
URL:
https://issues.jboss.org/browse/FORGE-1225
Project: Forge
Issue Type: Bug
Components: Resources API
Affects Versions: 1.3.3.Final
Reporter: Michael Schwartz
Priority: Minor
The following enum definition is not parsed when calling javaSource.getMembers():
public class Testclass {
public enum TYPE {
ENUM1,ENUM2;
}
}
--
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