1 32 33 package com.jeantessier.classreader; 34 35 import java.util.*; 36 37 public interface Visitor { 38 public void visitClassfiles(Collection classfiles); 40 public void visitClassfile(Classfile classfile); 41 42 public void visitConstantPool(ConstantPool constantPool); 44 public void visitClass_info(Class_info entry); 45 public void visitFieldRef_info(FieldRef_info entry); 46 public void visitMethodRef_info(MethodRef_info entry); 47 public void visitInterfaceMethodRef_info(InterfaceMethodRef_info entry); 48 public void visitString_info(String_info entry); 49 public void visitInteger_info(Integer_info entry); 50 public void visitFloat_info(Float_info entry); 51 public void visitLong_info(Long_info entry); 52 public void visitDouble_info(Double_info entry); 53 public void visitNameAndType_info(NameAndType_info entry); 54 public void visitUTF8_info(UTF8_info entry); 55 56 public void visitField_info(Field_info entry); 58 public void visitMethod_info(Method_info entry); 59 60 public void visitConstantValue_attribute(ConstantValue_attribute attribute); 62 public void visitCode_attribute(Code_attribute attribute); 63 public void visitExceptions_attribute(Exceptions_attribute attribute); 64 public void visitInnerClasses_attribute(InnerClasses_attribute attribute); 65 public void visitSynthetic_attribute(Synthetic_attribute attribute); 66 public void visitSourceFile_attribute(SourceFile_attribute attribute); 67 public void visitLineNumberTable_attribute(LineNumberTable_attribute attribute); 68 public void visitLocalVariableTable_attribute(LocalVariableTable_attribute attribute); 69 public void visitDeprecated_attribute(Deprecated_attribute attribute); 70 public void visitCustom_attribute(Custom_attribute attribute); 71 72 public void visitExceptionHandler(ExceptionHandler helper); 74 public void visitInnerClass(InnerClass helper); 75 public void visitLineNumber(LineNumber helper); 76 public void visitLocalVariable(LocalVariable helper); 77 } 78 | Popular Tags |