Examples of accept()


Examples of edu.umd.cs.findbugs.asm.FBClassReader.accept()

            reader = Global.getAnalysisCache().getClassAnalysis(FBClassReader.class, classDescriptor);
        } catch (CheckedAnalysisException e) {
            AnalysisContext.logError("Error finding self method calls for " + classDescriptor, e);
            return map;
        }
        reader.accept(new ClassVisitor(FindBugsASM.ASM_VERSION) {

            @Override
            public MethodVisitor visitMethod(final int access, final String name, final String desc, String signature,
                    String[] exceptions) {
                return new MethodVisitor(FindBugsASM.ASM_VERSION) {
View Full Code Here

Examples of elements.Car.accept()

public class Visitor_Test {
 
     public static void main(String[] args){
       Car car = new Car();
      car.accept(new CarElementPrintVisitor());
      car.accept(new CarElementCheckInvariantVisitor());
     
      //Break
      car.accept(new CarElementBreakInvariantVisistor());
      car.accept(new CarElementCheckInvariantVisitor());
View Full Code Here

Examples of entagged.audioformats.AudioFileFilter.accept()

     */
    protected void setUp() throws Exception {
        files = dir.listFiles(new FileFilter() {
            AudioFileFilter filter =new AudioFileFilter();
            public boolean accept(File pathname) {
                return pathname.isFile() && filter.accept(pathname);
            }
        });
        selIndexes = createSelection(files);
        File[] selection = new File[files.length];
        for (int i = 0; i < selection.length; i++) {
View Full Code Here

Examples of eu.bibl.banalysis.filter.InstructionFilter.accept()

  public boolean accept(AbstractInsnNode ain) {
    if (pointer >= filters.length)
      reset();
   
    InstructionFilter filter = filters[pointer];
    if (filter.accept(ain)) {
      lastMatch[pointer] = ain;
      if (pointer >= (filters.length - 1)) {
        return true;
      }
      pointer++;
View Full Code Here

Examples of eu.mosaic_cloud.interoperability.implementations.zeromq.ZeroMqChannel.accept()

    Assert.assertTrue (threading.initialize (KvTest.defaultPollTimeout));
    final String serverIdentity = UUID.randomUUID ().toString ();
    final String clientIdentity = UUID.randomUUID ().toString ();
    final ZeroMqChannel serverChannel = ZeroMqChannel.create (serverIdentity, threading, exceptions);
    serverChannel.register (KvSession.Server);
    serverChannel.accept (KvTest.defaultServerEndpoint);
    final ZeroMqChannel clientChannel = ZeroMqChannel.create (clientIdentity, threading, exceptions);
    clientChannel.register (KvSession.Client);
    clientChannel.connect (KvTest.defaultServerEndpoint);
    final KvServer server = new KvServer (exceptions, KvTest.defaultPollTimeout);
    server.initialize (serverChannel);
View Full Code Here

Examples of eu.stratosphere.compiler.dag.OptimizerNode.accept()

       
        // go over the contained data flow and mark the dynamic path nodes
        StaticDynamicPathIdentifier identifier = new StaticDynamicPathIdentifier(iterNode.getCostWeight());
        rootOfStepFunction.accept(identifier);
        if(terminationCriterion != null){
          terminationCriterion.accept(identifier);
        }
      }
      else if (n instanceof WorksetIterationNode) {
        final WorksetIterationNode iterNode = (WorksetIterationNode) n;
        final DeltaIterationBase<?, ?> iter = iterNode.getIterationContract();
View Full Code Here

Examples of eu.stratosphere.compiler.plan.OptimizedPlan.accept()

    OptimizedPlan plan = new PlanFinalizer().createFinalPlan(bestPlanSinks, program.getJobName(), program, memoryPerInstance);
    plan.setInstanceTypeName(instanceName);
   
    // swap the binary unions for n-ary unions. this changes no strategies or memory consumers whatsoever, so
    // we can do this after the plan finalization
    plan.accept(new BinaryUnionReplacer());
   
    // post pass the plan. this is the phase where the serialization and comparator code is set
    postPasser.postPass(plan);
   
    return plan;
View Full Code Here

Examples of flash.tools.debugger.SessionManager.accept()

        m_session = mgr.connect(Integer.valueOf(m_connectPort), null);
      }
      else if (m_launchURI == null)
      {
        out(getLocalizationManager().getLocalizedTextString("waitingForPlayerToConnect")); //$NON-NLS-1$
        m_session = mgr.accept(null);
      }
      else
      {
        out(getLocalizationManager().getLocalizedTextString("launchingWithUrl") + m_newline + m_launchURI); //$NON-NLS-1$
        m_session = mgr.launch(m_launchURI, null, true, null, null);
View Full Code Here

Examples of giggler.Plugin.Consumer.accept()

    protected void acceptContribution(PluginModule module) {
       
        Consumer consumer = getConsumer();
       
        if (consumer != null)
            consumer.accept(module.getPlugin());
    }

    protected void releaseContribution(PluginModule module) {
       
        Consumer consumer = getConsumer();
View Full Code Here

Examples of gov.nasa.jsc.mct.importExport.utilities.XMLFileFilter.accept()

  }
 
  @Test
  public void testXMLFilter(){
    XMLFileFilter xmlfilter = new XMLFileFilter();
    Assert.assertFalse(xmlfilter.accept(new File("")));   
    Assert.assertTrue(xmlfilter.accept(new File("src/test/resources/testOutput/")));
    Assert.assertTrue(xmlfilter.accept(new File("src/test/resources/testOutput/multComp.xml")));
  }
 
  @Test (expectedExceptions = IllegalArgumentException.class)
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.