for (Field fi : objVal.type.classdef.getClass().getDeclaredFields())
{
if (fi.getName().equals("privateStaticValues"))
{
fi.setAccessible(true);
NameValuePairMap privateStaticValues = (NameValuePairMap) fi.get(objVal.type.classdef);
for (NameValuePair child : privateStaticValues.asList())
{
if (!existingFields.contains(child.name.name))
{
values.add(createValue(child.name, objVal.type.classdef, child.value, objVal.getCPU()));
}
}
}
if (fi.getName().equals("publicStaticValues"))
{
fi.setAccessible(true);
NameValuePairMap privateStaticValues = (NameValuePairMap) fi.get(objVal.type.classdef);
for (NameValuePair child : privateStaticValues.asList())
{
if (!existingFields.contains(child.name.name))
{
values.add(createValue(child.name, objVal.type.classdef, child.value, objVal.getCPU()));
}