Package org.apache.bcel.classfile
Class EmptyVisitor
- java.lang.Object
-
- org.apache.bcel.classfile.EmptyVisitor
-
- All Implemented Interfaces:
Visitor
- Direct Known Subclasses:
BCELifier
,StringRepresentation
public class EmptyVisitor extends java.lang.Object implements Visitor
Visitor with empty method bodies, can be extended and used in conjunction with the DescendingVisitor class, e.g. By courtesy of David Spencer.- See Also:
DescendingVisitor
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EmptyVisitor()
-
Method Summary
-
-
-
Method Detail
-
visitAnnotation
public void visitAnnotation(Annotations obj)
- Specified by:
visitAnnotation
in interfaceVisitor
- Since:
- 6.0
-
visitParameterAnnotation
public void visitParameterAnnotation(ParameterAnnotations obj)
- Specified by:
visitParameterAnnotation
in interfaceVisitor
- Since:
- 6.0
-
visitAnnotationEntry
public void visitAnnotationEntry(AnnotationEntry obj)
- Specified by:
visitAnnotationEntry
in interfaceVisitor
- Since:
- 6.0
-
visitAnnotationDefault
public void visitAnnotationDefault(AnnotationDefault obj)
- Specified by:
visitAnnotationDefault
in interfaceVisitor
- Since:
- 6.0
-
visitCodeException
public void visitCodeException(CodeException obj)
- Specified by:
visitCodeException
in interfaceVisitor
-
visitConstantClass
public void visitConstantClass(ConstantClass obj)
- Specified by:
visitConstantClass
in interfaceVisitor
-
visitConstantDouble
public void visitConstantDouble(ConstantDouble obj)
- Specified by:
visitConstantDouble
in interfaceVisitor
-
visitConstantFieldref
public void visitConstantFieldref(ConstantFieldref obj)
- Specified by:
visitConstantFieldref
in interfaceVisitor
-
visitConstantFloat
public void visitConstantFloat(ConstantFloat obj)
- Specified by:
visitConstantFloat
in interfaceVisitor
-
visitConstantInteger
public void visitConstantInteger(ConstantInteger obj)
- Specified by:
visitConstantInteger
in interfaceVisitor
-
visitConstantInterfaceMethodref
public void visitConstantInterfaceMethodref(ConstantInterfaceMethodref obj)
- Specified by:
visitConstantInterfaceMethodref
in interfaceVisitor
-
visitConstantInvokeDynamic
public void visitConstantInvokeDynamic(ConstantInvokeDynamic obj)
- Specified by:
visitConstantInvokeDynamic
in interfaceVisitor
-
visitConstantLong
public void visitConstantLong(ConstantLong obj)
- Specified by:
visitConstantLong
in interfaceVisitor
-
visitConstantMethodref
public void visitConstantMethodref(ConstantMethodref obj)
- Specified by:
visitConstantMethodref
in interfaceVisitor
-
visitConstantNameAndType
public void visitConstantNameAndType(ConstantNameAndType obj)
- Specified by:
visitConstantNameAndType
in interfaceVisitor
-
visitConstantPool
public void visitConstantPool(ConstantPool obj)
- Specified by:
visitConstantPool
in interfaceVisitor
-
visitConstantString
public void visitConstantString(ConstantString obj)
- Specified by:
visitConstantString
in interfaceVisitor
-
visitConstantUtf8
public void visitConstantUtf8(ConstantUtf8 obj)
- Specified by:
visitConstantUtf8
in interfaceVisitor
-
visitConstantValue
public void visitConstantValue(ConstantValue obj)
- Specified by:
visitConstantValue
in interfaceVisitor
-
visitDeprecated
public void visitDeprecated(Deprecated obj)
- Specified by:
visitDeprecated
in interfaceVisitor
-
visitExceptionTable
public void visitExceptionTable(ExceptionTable obj)
- Specified by:
visitExceptionTable
in interfaceVisitor
-
visitField
public void visitField(Field obj)
- Specified by:
visitField
in interfaceVisitor
-
visitInnerClass
public void visitInnerClass(InnerClass obj)
- Specified by:
visitInnerClass
in interfaceVisitor
-
visitInnerClasses
public void visitInnerClasses(InnerClasses obj)
- Specified by:
visitInnerClasses
in interfaceVisitor
-
visitBootstrapMethods
public void visitBootstrapMethods(BootstrapMethods obj)
- Specified by:
visitBootstrapMethods
in interfaceVisitor
- Since:
- 6.0
-
visitJavaClass
public void visitJavaClass(JavaClass obj)
- Specified by:
visitJavaClass
in interfaceVisitor
-
visitLineNumber
public void visitLineNumber(LineNumber obj)
- Specified by:
visitLineNumber
in interfaceVisitor
-
visitLineNumberTable
public void visitLineNumberTable(LineNumberTable obj)
- Specified by:
visitLineNumberTable
in interfaceVisitor
-
visitLocalVariable
public void visitLocalVariable(LocalVariable obj)
- Specified by:
visitLocalVariable
in interfaceVisitor
-
visitLocalVariableTable
public void visitLocalVariableTable(LocalVariableTable obj)
- Specified by:
visitLocalVariableTable
in interfaceVisitor
-
visitMethod
public void visitMethod(Method obj)
- Specified by:
visitMethod
in interfaceVisitor
-
visitSignature
public void visitSignature(Signature obj)
- Specified by:
visitSignature
in interfaceVisitor
-
visitSourceFile
public void visitSourceFile(SourceFile obj)
- Specified by:
visitSourceFile
in interfaceVisitor
-
visitSynthetic
public void visitSynthetic(Synthetic obj)
- Specified by:
visitSynthetic
in interfaceVisitor
-
visitUnknown
public void visitUnknown(Unknown obj)
- Specified by:
visitUnknown
in interfaceVisitor
-
visitStackMap
public void visitStackMap(StackMap obj)
- Specified by:
visitStackMap
in interfaceVisitor
-
visitStackMapEntry
public void visitStackMapEntry(StackMapEntry obj)
- Specified by:
visitStackMapEntry
in interfaceVisitor
-
visitEnclosingMethod
public void visitEnclosingMethod(EnclosingMethod obj)
- Specified by:
visitEnclosingMethod
in interfaceVisitor
- Since:
- 6.0
-
visitLocalVariableTypeTable
public void visitLocalVariableTypeTable(LocalVariableTypeTable obj)
- Specified by:
visitLocalVariableTypeTable
in interfaceVisitor
- Since:
- 6.0
-
visitMethodParameters
public void visitMethodParameters(MethodParameters obj)
- Specified by:
visitMethodParameters
in interfaceVisitor
- Since:
- 6.0
-
visitMethodParameter
public void visitMethodParameter(MethodParameter obj)
- Specified by:
visitMethodParameter
in interfaceVisitor
- Since:
- 6.4.0
-
visitConstantMethodType
public void visitConstantMethodType(ConstantMethodType obj)
- Specified by:
visitConstantMethodType
in interfaceVisitor
- Since:
- 6.0
-
visitConstantMethodHandle
public void visitConstantMethodHandle(ConstantMethodHandle constantMethodHandle)
- Specified by:
visitConstantMethodHandle
in interfaceVisitor
- Since:
- 6.0
-
visitParameterAnnotationEntry
public void visitParameterAnnotationEntry(ParameterAnnotationEntry parameterAnnotationEntry)
- Specified by:
visitParameterAnnotationEntry
in interfaceVisitor
- Since:
- 6.0
-
visitConstantPackage
public void visitConstantPackage(ConstantPackage constantPackage)
- Specified by:
visitConstantPackage
in interfaceVisitor
- Since:
- 6.1
-
visitConstantModule
public void visitConstantModule(ConstantModule constantModule)
- Specified by:
visitConstantModule
in interfaceVisitor
- Since:
- 6.1
-
visitConstantDynamic
public void visitConstantDynamic(ConstantDynamic obj)
- Specified by:
visitConstantDynamic
in interfaceVisitor
- Since:
- 6.3
-
visitModule
public void visitModule(Module obj)
- Specified by:
visitModule
in interfaceVisitor
- Since:
- 6.4.0
-
visitModuleRequires
public void visitModuleRequires(ModuleRequires obj)
- Specified by:
visitModuleRequires
in interfaceVisitor
- Since:
- 6.4.0
-
visitModuleExports
public void visitModuleExports(ModuleExports obj)
- Specified by:
visitModuleExports
in interfaceVisitor
- Since:
- 6.4.0
-
visitModuleOpens
public void visitModuleOpens(ModuleOpens obj)
- Specified by:
visitModuleOpens
in interfaceVisitor
- Since:
- 6.4.0
-
visitModuleProvides
public void visitModuleProvides(ModuleProvides obj)
- Specified by:
visitModuleProvides
in interfaceVisitor
- Since:
- 6.4.0
-
visitModulePackages
public void visitModulePackages(ModulePackages obj)
- Specified by:
visitModulePackages
in interfaceVisitor
- Since:
- 6.4.0
-
visitModuleMainClass
public void visitModuleMainClass(ModuleMainClass obj)
- Specified by:
visitModuleMainClass
in interfaceVisitor
- Since:
- 6.4.0
-
visitNestHost
public void visitNestHost(NestHost obj)
- Specified by:
visitNestHost
in interfaceVisitor
- Since:
- 6.4.0
-
visitNestMembers
public void visitNestMembers(NestMembers obj)
- Specified by:
visitNestMembers
in interfaceVisitor
- Since:
- 6.4.0
-
-