# Class EmptyVisitor

java.lang.Object
org.apache.bcel.classfile.EmptyVisitor

All Implemented Interfaces:
  `Visitor`

Direct Known Subclasses:
  `BCELifier, StringRepresentation`

public class EmptyVisitor extends Object implements Visitor
Visitor with empty method bodies, can be extended and used in conjunction with the DescendingVisitor class, for example. By courtesy of David Spencer.

See Also:
  - `DescendingVisitor`

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `EmptyVisitor()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `visitAnnotation(Annotations obj)`
  `void`
  `visitAnnotationDefault(AnnotationDefault obj)`
  `void`
  `visitAnnotationEntry(AnnotationEntry obj)`
  `void`
  `visitBootstrapMethods(BootstrapMethods obj)`
  `void`
  `visitCode(Code obj)`
  `void`
  `visitCodeException(CodeException obj)`
  `void`
  `visitConstantClass(ConstantClass obj)`
  `void`
  `visitConstantDouble(ConstantDouble obj)`
  `void`
  `visitConstantDynamic(ConstantDynamic obj)`
  `void`
  `visitConstantFieldref(ConstantFieldref obj)`
  `void`
  `visitConstantFloat(ConstantFloat obj)`
  `void`
  `visitConstantInteger(ConstantInteger obj)`
  `void`
  `visitConstantInterfaceMethodref(ConstantInterfaceMethodref obj)`
  `void`
  `visitConstantInvokeDynamic(ConstantInvokeDynamic obj)`
  `void`
  `visitConstantLong(ConstantLong obj)`
  `void`
  `visitConstantMethodHandle(ConstantMethodHandle constantMethodHandle)`
  `void`
  `visitConstantMethodref(ConstantMethodref obj)`
  `void`
  `visitConstantMethodType(ConstantMethodType obj)`
  `void`
  `visitConstantModule(ConstantModule constantModule)`
  `void`
  `visitConstantNameAndType(ConstantNameAndType obj)`
  `void`
  `visitConstantPackage(ConstantPackage constantPackage)`
  `void`
  `visitConstantPool(ConstantPool obj)`
  `void`
  `visitConstantString(ConstantString obj)`
  `void`
  `visitConstantUtf8(ConstantUtf8 obj)`
  `void`
  `visitConstantValue(ConstantValue obj)`
  `void`
  `visitDeprecated(Deprecated obj)`
  `void`
  `visitEnclosingMethod(EnclosingMethod obj)`
  `void`
  `visitExceptionTable(ExceptionTable obj)`
  `void`
  `visitField(Field obj)`
  `void`
  `visitInnerClass(InnerClass obj)`
  `void`
  `visitInnerClasses(InnerClasses obj)`
  `void`
  `visitJavaClass(JavaClass obj)`
  `void`
  `visitLineNumber(LineNumber obj)`
  `void`
  `visitLineNumberTable(LineNumberTable obj)`
  `void`
  `visitLocalVariable(LocalVariable obj)`
  `void`
  `visitLocalVariableTable(LocalVariableTable obj)`
  `void`
  `visitLocalVariableTypeTable(LocalVariableTypeTable obj)`
  `void`
  `visitMethod(Method obj)`
  `void`
  `visitMethodParameter(MethodParameter obj)`
  `void`
  `visitMethodParameters(MethodParameters obj)`
  `void`
  `visitModule(Module obj)`
  `void`
  `visitModuleExports(ModuleExports obj)`
  `void`
  `visitModuleMainClass(ModuleMainClass obj)`
  `void`
  `visitModuleOpens(ModuleOpens obj)`
  `void`
  `visitModulePackages(ModulePackages obj)`
  `void`
  `visitModuleProvides(ModuleProvides obj)`
  `void`
  `visitModuleRequires(ModuleRequires obj)`
  `void`
  `visitNestHost(NestHost obj)`
  `void`
  `visitNestMembers(NestMembers obj)`
  `void`
  `visitParameterAnnotation(ParameterAnnotations obj)`
  `void`
  `visitParameterAnnotationEntry(ParameterAnnotationEntry parameterAnnotationEntry)`
  `void`
  `visitSignature(Signature obj)`
  `void`
  `visitSourceFile(SourceFile obj)`
  `void`
  `visitStackMap(StackMap obj)`
  `void`
  `visitStackMapEntry(StackMapEntry obj)`
  `void`
  `visitStackMapType(StackMapType obj)`
  Visits a `StackMapType` object.
  `void`
  `visitSynthetic(Synthetic obj)`
  `void`
  `visitUnknown(Unknown obj)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface Visitor

  `visitRecord, visitRecordComponent`

- ## Constructor Details

  - ### EmptyVisitor

    protected EmptyVisitor()

- ## Method Details

  - ### visitAnnotation

    public void visitAnnotation(Annotations obj)
    Specified by:
      `visitAnnotation` in interface `Visitor`
    Since:
      6.0

  - ### visitAnnotationDefault

    public void visitAnnotationDefault(AnnotationDefault obj)
    Specified by:
      `visitAnnotationDefault` in interface `Visitor`
    Since:
      6.0

  - ### visitAnnotationEntry

    public void visitAnnotationEntry(AnnotationEntry obj)
    Specified by:
      `visitAnnotationEntry` in interface `Visitor`
    Since:
      6.0

  - ### visitBootstrapMethods

    public void visitBootstrapMethods(BootstrapMethods obj)
    Specified by:
      `visitBootstrapMethods` in interface `Visitor`
    Since:
      6.0

  - ### visitCode

    public void visitCode(Code obj)
    Specified by:
      `visitCode` in interface `Visitor`

  - ### visitCodeException

    public void visitCodeException(CodeException obj)
    Specified by:
      `visitCodeException` in interface `Visitor`

  - ### visitConstantClass

    public void visitConstantClass(ConstantClass obj)
    Specified by:
      `visitConstantClass` in interface `Visitor`

  - ### visitConstantDouble

    public void visitConstantDouble(ConstantDouble obj)
    Specified by:
      `visitConstantDouble` in interface `Visitor`

  - ### visitConstantDynamic

    public void visitConstantDynamic(ConstantDynamic obj)
    Specified by:
      `visitConstantDynamic` in interface `Visitor`
    Since:
      6.3

  - ### visitConstantFieldref

    public void visitConstantFieldref(ConstantFieldref obj)
    Specified by:
      `visitConstantFieldref` in interface `Visitor`

  - ### visitConstantFloat

    public void visitConstantFloat(ConstantFloat obj)
    Specified by:
      `visitConstantFloat` in interface `Visitor`

  - ### visitConstantInteger

    public void visitConstantInteger(ConstantInteger obj)
    Specified by:
      `visitConstantInteger` in interface `Visitor`

  - ### visitConstantInterfaceMethodref

    public void visitConstantInterfaceMethodref(ConstantInterfaceMethodref obj)
    Specified by:
      `visitConstantInterfaceMethodref` in interface `Visitor`

  - ### visitConstantInvokeDynamic

    public void visitConstantInvokeDynamic(ConstantInvokeDynamic obj)
    Specified by:
      `visitConstantInvokeDynamic` in interface `Visitor`

  - ### visitConstantLong

    public void visitConstantLong(ConstantLong obj)
    Specified by:
      `visitConstantLong` in interface `Visitor`

  - ### visitConstantMethodHandle

    public void visitConstantMethodHandle(ConstantMethodHandle constantMethodHandle)
    Specified by:
      `visitConstantMethodHandle` in interface `Visitor`
    Since:
      6.0

  - ### visitConstantMethodref

    public void visitConstantMethodref(ConstantMethodref obj)
    Specified by:
      `visitConstantMethodref` in interface `Visitor`

  - ### visitConstantMethodType

    public void visitConstantMethodType(ConstantMethodType obj)
    Specified by:
      `visitConstantMethodType` in interface `Visitor`
    Since:
      6.0

  - ### visitConstantModule

    public void visitConstantModule(ConstantModule constantModule)
    Specified by:
      `visitConstantModule` in interface `Visitor`
    Since:
      6.1

  - ### visitConstantNameAndType

    public void visitConstantNameAndType(ConstantNameAndType obj)
    Specified by:
      `visitConstantNameAndType` in interface `Visitor`

  - ### visitConstantPackage

    public void visitConstantPackage(ConstantPackage constantPackage)
    Specified by:
      `visitConstantPackage` in interface `Visitor`
    Since:
      6.1

  - ### visitConstantPool

    public void visitConstantPool(ConstantPool obj)
    Specified by:
      `visitConstantPool` in interface `Visitor`

  - ### visitConstantString

    public void visitConstantString(ConstantString obj)
    Specified by:
      `visitConstantString` in interface `Visitor`

  - ### visitConstantUtf8

    public void visitConstantUtf8(ConstantUtf8 obj)
    Specified by:
      `visitConstantUtf8` in interface `Visitor`

  - ### visitConstantValue

    public void visitConstantValue(ConstantValue obj)
    Specified by:
      `visitConstantValue` in interface `Visitor`

  - ### visitDeprecated

    public void visitDeprecated(Deprecated obj)
    Specified by:
      `visitDeprecated` in interface `Visitor`

  - ### visitEnclosingMethod

    public void visitEnclosingMethod(EnclosingMethod obj)
    Specified by:
      `visitEnclosingMethod` in interface `Visitor`
    Since:
      6.0

  - ### visitExceptionTable

    public void visitExceptionTable(ExceptionTable obj)
    Specified by:
      `visitExceptionTable` in interface `Visitor`

  - ### visitField

    public void visitField(Field obj)
    Specified by:
      `visitField` in interface `Visitor`

  - ### visitInnerClass

    public void visitInnerClass(InnerClass obj)
    Specified by:
      `visitInnerClass` in interface `Visitor`

  - ### visitInnerClasses

    public void visitInnerClasses(InnerClasses obj)
    Specified by:
      `visitInnerClasses` in interface `Visitor`

  - ### visitJavaClass

    public void visitJavaClass(JavaClass obj)
    Specified by:
      `visitJavaClass` in interface `Visitor`

  - ### visitLineNumber

    public void visitLineNumber(LineNumber obj)
    Specified by:
      `visitLineNumber` in interface `Visitor`

  - ### visitLineNumberTable

    public void visitLineNumberTable(LineNumberTable obj)
    Specified by:
      `visitLineNumberTable` in interface `Visitor`

  - ### visitLocalVariable

    public void visitLocalVariable(LocalVariable obj)
    Specified by:
      `visitLocalVariable` in interface `Visitor`

  - ### visitLocalVariableTable

    public void visitLocalVariableTable(LocalVariableTable obj)
    Specified by:
      `visitLocalVariableTable` in interface `Visitor`

  - ### visitLocalVariableTypeTable

    public void visitLocalVariableTypeTable(LocalVariableTypeTable obj)
    Specified by:
      `visitLocalVariableTypeTable` in interface `Visitor`
    Since:
      6.0

  - ### visitMethod

    public void visitMethod(Method obj)
    Specified by:
      `visitMethod` in interface `Visitor`

  - ### visitMethodParameter

    public void visitMethodParameter(MethodParameter obj)
    Specified by:
      `visitMethodParameter` in interface `Visitor`
    Since:
      6.4.0

  - ### visitMethodParameters

    public void visitMethodParameters(MethodParameters obj)
    Specified by:
      `visitMethodParameters` in interface `Visitor`
    Since:
      6.0

  - ### visitModule

    public void visitModule(Module obj)
    Specified by:
      `visitModule` in interface `Visitor`
    Since:
      6.4.0

  - ### visitModuleExports

    public void visitModuleExports(ModuleExports obj)
    Specified by:
      `visitModuleExports` in interface `Visitor`
    Since:
      6.4.0

  - ### visitModuleMainClass

    public void visitModuleMainClass(ModuleMainClass obj)
    Specified by:
      `visitModuleMainClass` in interface `Visitor`
    Since:
      6.4.0

  - ### visitModuleOpens

    public void visitModuleOpens(ModuleOpens obj)
    Specified by:
      `visitModuleOpens` in interface `Visitor`
    Since:
      6.4.0

  - ### visitModulePackages

    public void visitModulePackages(ModulePackages obj)
    Specified by:
      `visitModulePackages` in interface `Visitor`
    Since:
      6.4.0

  - ### visitModuleProvides

    public void visitModuleProvides(ModuleProvides obj)
    Specified by:
      `visitModuleProvides` in interface `Visitor`
    Since:
      6.4.0

  - ### visitModuleRequires

    public void visitModuleRequires(ModuleRequires obj)
    Specified by:
      `visitModuleRequires` in interface `Visitor`
    Since:
      6.4.0

  - ### visitNestHost

    public void visitNestHost(NestHost obj)
    Specified by:
      `visitNestHost` in interface `Visitor`
    Since:
      6.4.0

  - ### visitNestMembers

    public void visitNestMembers(NestMembers obj)
    Specified by:
      `visitNestMembers` in interface `Visitor`
    Since:
      6.4.0

  - ### visitParameterAnnotation

    public void visitParameterAnnotation(ParameterAnnotations obj)
    Specified by:
      `visitParameterAnnotation` in interface `Visitor`
    Since:
      6.0

  - ### visitParameterAnnotationEntry

    public void visitParameterAnnotationEntry(ParameterAnnotationEntry parameterAnnotationEntry)
    Specified by:
      `visitParameterAnnotationEntry` in interface `Visitor`
    Since:
      6.0

  - ### visitSignature

    public void visitSignature(Signature obj)
    Specified by:
      `visitSignature` in interface `Visitor`

  - ### visitSourceFile

    public void visitSourceFile(SourceFile obj)
    Specified by:
      `visitSourceFile` in interface `Visitor`

  - ### visitStackMap

    public void visitStackMap(StackMap obj)
    Specified by:
      `visitStackMap` in interface `Visitor`

  - ### visitStackMapEntry

    public void visitStackMapEntry(StackMapEntry obj)
    Specified by:
      `visitStackMapEntry` in interface `Visitor`

  - ### visitStackMapType

    public void visitStackMapType(StackMapType obj)
    Visits a `StackMapType` object.
    Specified by:
      `visitStackMapType` in interface `Visitor`
    Parameters:
      `obj` - object to visit
    Since:
      6.8.0

  - ### visitSynthetic

    public void visitSynthetic(Synthetic obj)
    Specified by:
      `visitSynthetic` in interface `Visitor`

  - ### visitUnknown

    public void visitUnknown(Unknown obj)
    Specified by:
      `visitUnknown` in interface `Visitor`