@Override
public void syncFromMetadata() {
// Start with a clean, empty metadata file.
// In the event of a parse error from the raw XML, display this empty element
apexClassMetadata = new ApexClass();
try {
apexClassMetadata = unmarshall(getTextFromMetadataEditor(), ApexClass.class);
} catch (Exception e) {
logger.debug("Error trying to sync from Metadata tab for Apex property sheet: ", e);