if (Modifier.isPublic(mod) && Modifier.isStatic(mod) && Modifier.isFinal(mod)) {
try {
Object obj = field.get(null);
if (obj instanceof Any) {
Doc doc = _document.findFirst(Doc.T_CONST, name);
Any value = (Any)obj;
_types.put(name, new NativeConstantVariable(this, name, field, doc));
}
} catch (Exception e) {
anvil.Log.log().error("Couldn't get field '"+field+"' from "+module.getName());
}