nodeNameParam = "\"" + nodeName + "\"";
if (_config.classDescFieldNames()) {
//-- The node name parameter is a reference to a public static final
nodeNameParam = nodeName.toUpperCase();
//-- Expose node name as public static final (reused by XMLFieldDescriptorImpl)
JConstant constant = new JConstant(SGTypes.STRING, nodeNameParam);
constant.setInitString("\"" + nodeName + "\"");
classDesc.addMember(constant);
}
}
//-- Generate code to new XMLFieldDescriptorImpl instance