Package org.objectweb.asm.commons

Examples of org.objectweb.asm.commons.EmptyVisitor


    public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
        if ("Lorg/junit/runner/RunWith;".equals(desc)) {
            test = true;
        }

        return new EmptyVisitor();
    }
View Full Code Here


     */
    public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) {
        if (!test) {
            return new JUnitTestMethodDetecter(this);
        } else {
            return new EmptyVisitor();
        }
    }
View Full Code Here

    public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
        if ("Lorg/junit/Test;".equals(desc)) {
            testClassDetecter.setTest(true);
        }
        return new EmptyVisitor();
    }
View Full Code Here

        }
        return new EmptyVisitor();
    }

    public AnnotationVisitor visitAnnotationDefault() {
        return new EmptyVisitor();
    }
View Full Code Here

    public AnnotationVisitor visitAnnotationDefault() {
        return new EmptyVisitor();
    }

    public AnnotationVisitor visitParameterAnnotation(int parameter, String desc, boolean visible) {
        return new EmptyVisitor();
    }
View Full Code Here

     */
    public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
        if ("Lorg/testng/annotations/Test;".equals(desc)) {
            test = true;
        }
        return new EmptyVisitor();
    }
View Full Code Here

     */
    public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) {
        if (!isAbstract && !test) {
            return new TestNGTestMethodDetecter(this);
        } else {
            return new EmptyVisitor();
        }
    }
View Full Code Here

    public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
        if (testMethodAnnotations.contains(desc)) {
            testClassDetecter.setTest(true);
        }
        return new EmptyVisitor();
    }
View Full Code Here

        }
        return new EmptyVisitor();
    }

    public AnnotationVisitor visitAnnotationDefault() {
        return new EmptyVisitor();
    }
View Full Code Here

    public AnnotationVisitor visitAnnotationDefault() {
        return new EmptyVisitor();
    }

    public AnnotationVisitor visitParameterAnnotation(int parameter, String desc, boolean visible) {
        return new EmptyVisitor();
    }
View Full Code Here

TOP

Related Classes of org.objectweb.asm.commons.EmptyVisitor

Copyright © 2018 www.massapicom. 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.