}
else if (javaSource instanceof JavaEnum)
{
JavaResource enumTypeResource = (JavaResource) resource;
List<Resource<?>> members = enumTypeResource.listResources();
for (Resource<?> member : members)
{
String entry = member.getName();
output.add(entry);
}