1 package org.objectweb.asm; 2 3 /** 4 * Shared methods between {@link ClassVisitor}, {@link FieldVisitor}, and 5 * {@link MethodVisitor}. 6 */ 7 public interface MemberVisitor { 8 9 /** 10 * Visits a type annotation of this member. 11 * 12 * @param desc the class descriptor of the annotation class. 13 * @param visible <tt>true</tt> if the annotation is visible at runtime. 14 * @param inCode <tt>true</tt> if this annotation belongs in the <tt>Code</tt> 15 * attribute, <tt>false</tt> otherwise. This is only used for methods. 16 * @return a non null visitor to visit the annotation values. 17 */ 18 TypeAnnotationVisitor visitTypeAnnotation(String desc, boolean visible, boolean inCode); 19 } 20