Examples of cleanUp()


Examples of org.aspectj.org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.cleanUp()

      org.aspectj.org.eclipse.jdt.core.dom.CompilationUnit cu = AST.convertCompilationUnit(astLevel, unit, contents, options, computeProblems, this, reconcileFlags, pm);
      ((ASTHolderCUInfo) info).ast = cu;
    }
  } finally {
      if (compilationUnitDeclaration != null) {
          compilationUnitDeclaration.cleanUp();
      }
  }
 
  return unitInfo.isStructureKnown();
}
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.env.INameEnvironment.cleanup()

      getInfrastructureEvaluationRequestor(requestor),
      getProblemFactory());
  } catch (InstallException e) {
    handleInstallException(e);
  } finally {
    if (environment != null) environment.cleanup();
  }
}
/**
* @see IEvaluationContext#evaluateCodeSnippet(String, ICodeSnippetRequestor, IProgressMonitor)
*/
 
View Full Code Here

Examples of org.codehaus.activemq.broker.BrokerClient.cleanUp()

            if (log.isDebugEnabled()) {
                log.debug("Client leaving client: " + client);
            }

            // we may have already been closed, if not then lets simulate a normal shutdown
            client.cleanUp();
        }
        else {
            // might have got a duplicate callback
            log.warn("No such client for channel: " + channel);
        }
View Full Code Here

Examples of org.codehaus.groovy.control.Janitor.cleanup()

            controller.getCompileStack().removeVar(savedTracker.recorderIndex);
        }
        assertionTracker = oldTracker;
        // close possibly open file handles from getting a sample for
        // power asserts
        janitor.cleanup();
    }
   
    private void writeSourcelessAssertText(AssertStatement statement) {
        MethodVisitor mv = controller.getMethodVisitor();
        OperandStack operandStack = controller.getOperandStack();
View Full Code Here

Examples of org.codelibs.elasticsearch.web.config.RiverConfig.cleanup()

            } finally {
                executeScript(scriptSerivce, rootSettings, vars, "finish");

                runningJob.set(null);
                if (riverConfig != null) {
                    riverConfig.cleanup(sessionId);
                }
                // clean up
                // s2Robot.cleanup(sessionId);
                try {
                    SingletonS2Container.getComponent(EsUrlQueueService.class)
View Full Code Here

Examples of org.cyberneko.pull.XMLPullParser.cleanup()

            }
        }
        finally
        {
            // this will also close the inputstream
            parser.cleanup();
        }

        // Run over the SourceTypes until one is found that matches the information collected in sourceInfo
        Iterator sourceTypeIt = sourceTypes.iterator();
        while (sourceTypeIt.hasNext())
View Full Code Here

Examples of org.cyberneko.pull.parsers.Xerces2.cleanup()

            }
        }
        finally
        {
            // this will also close the inputstream
            parser.cleanup();
        }

        // Run over the SourceTypes until one is found that matches the information collected in sourceInfo
        Iterator sourceTypeIt = sourceTypes.iterator();
        while (sourceTypeIt.hasNext())
View Full Code Here

Examples of org.drools.core.reteoo.RuleRemovalContext.CleanupAdapter.cleanUp()

                final ObjectTypeNodeMemory memory = (ObjectTypeNodeMemory) workingMemory.getNodeMemory( this );
                Iterator it = memory.memory.iterator();
                for ( ObjectEntry entry = (ObjectEntry) it.next(); entry != null; entry = (ObjectEntry) it.next() ) {
                    InternalFactHandle handle = (InternalFactHandle) entry.getValue();
                    for ( LeftTuple leftTuple = handle.getFirstLeftTuple(); leftTuple != null; leftTuple = leftTuple.getLeftParentNext() ) {
                        adapter.cleanUp( leftTuple,
                                         workingMemory );
                    }
                }
            }
            context.setCleanupAdapter( null );
View Full Code Here

Examples of org.drools.reteoo.RuleRemovalContext.CleanupAdapter.cleanUp()

                final ObjectTypeNodeMemory memory = (ObjectTypeNodeMemory) workingMemory.getNodeMemory( this );
                Iterator it = memory.memory.iterator();
                for ( ObjectEntry entry = (ObjectEntry) it.next(); entry != null; entry = (ObjectEntry) it.next() ) {
                    InternalFactHandle handle = (InternalFactHandle) entry.getValue();
                    for ( LeftTuple leftTuple = handle.getFirstLeftTuple(); leftTuple != null; leftTuple = leftTuple.getLeftParentNext() ) {
                        adapter.cleanUp( leftTuple,
                                         workingMemory );
                    }
                }
            }
            context.setCleanupAdapter( null );
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.cleanUp()

            // remove at the end so that we don't resolve twice if a source and a key for the same file name have been requested
            this.requestedKeys.put(fileName, null); // mark it as removed
          }
        } finally {
          // cleanup compilation unit result
          unit.cleanUp();
        }
        this.unitsToProcess[i] = null; // release reference to processed unit declaration
        this.requestor.acceptResult(unit.compilationResult.tagAsAccepted());
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.