Visits an annotation on the type of the field. @param typeRef a reference to the annotated type. The sort of this type reference must be TypeReference#FIELD. See TypeReference. @param typePath the path to the annotated type argument, wildcard bound, array element type, or st
(
final int typeRef, final TypePath typePath, final String descriptor, final boolean visible)
| 105 | * interested in visiting this annotation. |
| 106 | */ |
| 107 | public AnnotationVisitor visitTypeAnnotation( |
| 108 | final int typeRef, final TypePath typePath, final String descriptor, final boolean visible) { |
| 109 | if (api < Opcodes.ASM5) { |
| 110 | throw new UnsupportedOperationException(); |
| 111 | } |
| 112 | if (fv != null) { |
| 113 | return fv.visitTypeAnnotation(typeRef, typePath, descriptor, visible); |
| 114 | } |
| 115 | return null; |
| 116 | } |
| 117 | |
| 118 | /** |
| 119 | * Visits a non standard attribute of the field. |