Examples of accept()


Examples of nginx.clojure.asm.signature.SignatureReader.accept()

        SignatureWriter w = new SignatureWriter();
        SignatureVisitor a = createRemappingSignatureAdapter(w);
        if (typeSignature) {
            r.acceptType(a);
        } else {
            r.accept(a);
        }
        return w.toString();
    }

    protected SignatureVisitor createRemappingSignatureAdapter(
View Full Code Here

Examples of nginx.clojure.asm.tree.AbstractInsnNode.accept()

       
        for(int i=start+skip ; i<end ; i++) {
            AbstractInsnNode ins = mn.instructions.get(i);
           
            if (ins instanceof LabelNode) {
              ins.accept(mv);
        LabelNode ln = (LabelNode) ins;
        if (hasReflectInvoke && reflectExceptionHandlers.contains(ln)) {
          emitRelectExceptionHandleCode(mv, true);
        }
        continue;
View Full Code Here

Examples of nginx.clojure.asm.tree.AnnotationNode.accept()

        }
       
        if(mn.visibleAnnotations != null) {
            for(Object o : mn.visibleAnnotations) {
                AnnotationNode an = (AnnotationNode)o;
                an.accept(mv.visitAnnotation(an.desc, true));
            }
        }
       
        mv.visitTryCatchBlock(lMethodStart, lMethodEnd, lCatchAll, null);
   
View Full Code Here

Examples of nginx.clojure.asm.tree.MethodInsnNode.accept()

                emitStoreState(mv, i, fi);
                mv.visitFieldInsn(Opcodes.GETSTATIC, STACK_NAME,
                        "exception_instance_not_for_user_code",
                        CheckInstrumentationVisitor.EXCEPTION_DESC);
                mv.visitInsn(Opcodes.ATHROW);
                min.accept(mv); // only the call
                mv.visitLabel(lMethodCalls[i-1]);
                emitRestoreState(mv, i, fi);
                dumpCodeBlock(mv, i, 1);    // skip the call
            } else {
             
View Full Code Here

Examples of noop.model.LanguageElement.accept()

          break;
      }
    }

    modelVisitor.enter(target);
    target.accept(modelVisitor);
    modelVisitor.leave(target);
   
  }
}
View Full Code Here

Examples of noop.model.Project.accept()

    p.addLibrary(l);
    p.addLibrary(l2);
    l.addClazz(c);
    c.addBlock(m);

    p.accept(new VertexCreatingVisitor());

    assertEquals(l, l.getElements().get(0));
    assertEquals(c, l.getElements().get(1));
    assertEquals(m, l.getElements().get(2));
    assertEquals(new Vertex(uid, 0), l.vertex);
View Full Code Here

Examples of oracle.toplink.libraries.asm.ClassReader.accept()

    } else {
      cr = new ClassReader(args[0]);
    }
   
    TreeClassAdapter ca = new TreeClassAdapter(null);
    cr.accept(new CheckClassAdapter(ca), true);
   
    List methods = ca.classNode.methods;
    for (int i = 0; i < methods.size(); ++i) {
      MethodNode method = (MethodNode)methods.get(i);
      if (method.instructions.size() > 0) {
View Full Code Here

Examples of org.apache.accumulo.core.conf.AccumuloConfiguration.PropertyFilter.accept()

    String child1 = "child1";
    List<String> children = new java.util.ArrayList<String>();
    children.add(child1);
    expect(zc.getChildren(PATH)).andReturn(children);
    replay(zc);
    expect(filter.accept(child1)).andReturn(false);
    replay(filter);

    a.getProperties(props, PATH, filter, parent, null);
    assertEquals(0, props.size());
  }
View Full Code Here

Examples of org.apache.accumulo.core.iterators.filter.ColumnQualifierFilter.accept()

   
    columns.add(nc("cf1"));
   
    ColumnQualifierFilter cf = new ColumnQualifierFilter(columns);
   
    assertTrue(cf.accept(nk("r1", "cf1", "cq1"), new Value(new byte[0])));
    assertTrue(cf.accept(nk("r1", "cf2", "cq1"), new Value(new byte[0])));
   
  }
 
  public void test2() {
View Full Code Here

Examples of org.apache.accumulo.core.iterators.system.ColumnQualifierFilter.accept()

   
    columns.add(nc("cf1"));
   
    ColumnQualifierFilter cf = new ColumnQualifierFilter(null, columns);
   
    assertTrue(cf.accept(nk("r1", "cf1", "cq1"), new Value(new byte[0])));
    assertTrue(cf.accept(nk("r1", "cf2", "cq1"), new Value(new byte[0])));
   
  }
 
  public void test2() {
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.