Package org.drools.asm

Examples of org.drools.asm.AnnotationVisitor


     */
    protected FieldVisitor fv;

    public AnnotationVisitor visitAnnotation(final String desc,
                                             final boolean visible) {
        final AnnotationVisitor av = super.visitAnnotation( desc,
                                                            visible );
        if ( this.fv != null ) {
            ((TraceAnnotationVisitor) av).av = this.fv.visitAnnotation( desc,
                                                                        visible );
        }


    }

    public AnnotationVisitor visitAnnotation(final String desc,
                                             final boolean visible) {
        this.text.add( "\n" );
        final AnnotationVisitor tav = super.visitAnnotation( desc,
                                                             visible );
        if ( this.cv != null ) {
            ((TraceAnnotationVisitor) tav).av = this.cv.visitAnnotation( desc,
                                                                         visible );
        }

    // Implementation of the MethodVisitor interface
    // ------------------------------------------------------------------------

    public AnnotationVisitor visitAnnotation(final String desc,
                                             final boolean visible) {
        final AnnotationVisitor av = super.visitAnnotation( desc,
                                                            visible );
        if ( this.mv != null ) {
            ((TraceAnnotationVisitor) av).av = this.mv.visitAnnotation( desc,
                                                                        visible );
        }

TOP

Related Classes of org.drools.asm.AnnotationVisitor

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.