Example usage for org.objectweb.asm ClassVisitor visitTypeAnnotation

List of usage examples for org.objectweb.asm ClassVisitor visitTypeAnnotation

Introduction

In this page you can find the example usage for org.objectweb.asm ClassVisitor visitTypeAnnotation.

Prototype

public AnnotationVisitor visitTypeAnnotation(final int typeRef, final TypePath typePath,
        final String descriptor, final boolean visible) 

Source Link

Document

Visits an annotation on a type in the class signature.

Usage

From source file:org.jephyr.common.agent.DelegationClassAdapter.java

License:Open Source License

@Override
public AnnotationVisitor visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) {
    ClassVisitor cv1 = delegate();
    if (cv1 != null) {
        return cv1.visitTypeAnnotation(typeRef, typePath, desc, visible);
    } else {/*  w ww .  ja  v  a2  s  .co m*/
        return null;
    }
}