Esempio n. 1
0
 public boolean doNeedRebuild(
     final JavaBuilderState it,
     final Procedure1<? super UnconfirmedStructuralChangesDelta> processor) {
   boolean _xblockexpression = false;
   {
     final Iterator<UnconfirmedStructuralChangesDelta> i = this.unconfirmedDeltas.iterator();
     boolean _hasNext = i.hasNext();
     boolean _while = _hasNext;
     while (_while) {
       {
         final UnconfirmedStructuralChangesDelta unconfirmed = i.next();
         boolean _and = false;
         int _buildNumber = unconfirmed.getBuildNumber();
         Integer _buildNumber_1 = it.getBuildNumber();
         boolean _lessThan = (_buildNumber < (_buildNumber_1).intValue());
         if (!_lessThan) {
           _and = false;
         } else {
           IProject _project = unconfirmed.getProject();
           IProject _project_1 = it.getProject();
           boolean _equals = _project.equals(_project_1);
           _and = (_lessThan && _equals);
         }
         if (_and) {
           i.remove();
           boolean _notEquals = (!Objects.equal(processor, null));
           if (_notEquals) {
             processor.apply(unconfirmed);
           }
         }
       }
       boolean _hasNext_1 = i.hasNext();
       _while = _hasNext_1;
     }
     int _size = this.unconfirmedDeltas.size();
     boolean _notEquals = (_size != 0);
     _xblockexpression = (_notEquals);
   }
   return _xblockexpression;
 }