int _type = event.getType();
boolean _notEquals = (_type != IResourceChangeEvent.POST_CHANGE);
if (_notEquals) {
return;
}
final ErlDeltaProcessor deltaProcessor = new ErlDeltaProcessor();
try {
IResourceDelta _delta = event.getDelta();
_delta.accept(deltaProcessor);
} catch (final Throwable _t) {
if (_t instanceof CoreException) {
final CoreException e = (CoreException)_t;
ErlLogger.error(e);
} else {
throw Exceptions.sneakyThrow(_t);
}
}
HandleDelta _delta_1 = deltaProcessor.getDelta();
boolean _isEmpty = _delta_1.isEmpty();
boolean _not = (!_isEmpty);
if (_not) {
HandleDelta _delta_2 = deltaProcessor.getDelta();
ElementChangeEvent _elementChangeEvent = new ElementChangeEvent(ElementChangeEvent.POST_CHANGE, _delta_2);
this.fireElementChangeEvent(_elementChangeEvent);
}
}