}
if (!(fieldInfo.getVisibility().equals("private"))) {
JModifiers modifiers = field.getModifiers();
if (fieldInfo.getVisibility().equals("protected")) {
modifiers.makeProtected();
} else if (fieldInfo.getVisibility().equals("public")) {
modifiers.makePublic();
}
}