private static void addPublicFields(List<InternalEventPropDescriptor> result, Class clazz)
{
Field[] fields = clazz.getFields();
for (int i = 0; i < fields.length; i++)
{
InternalEventPropDescriptor desc = PropertyListBuilderExplicit.makeFieldDesc(fields[i], fields[i].getName());
result.add(desc);
}
}