Example usage for org.objectweb.asm FieldVisitor visitTypeAnnotation

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

Introduction

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

Prototype

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

Source Link

Document

Visits an annotation on the type of the field.

Usage

From source file:com.facebook.buck.jvm.java.abi.TypeAnnotationMirror.java

License:Apache License

@Override
public void appendTo(FieldVisitor field) {
    AnnotationVisitor visitor = field.visitTypeAnnotation(typeRef, typePath, desc, visible);
    visitValues(visitor);//from  www.  ja  va  2  s .  c  om
    visitor.visitEnd();
}