Package org.apache.bcel.classfile
Interface Visitor
- All Known Implementing Classes:
BCELifier
,DescendingVisitor
,EmptyVisitor
,StringRepresentation
public interface Visitor
Interface to make use of the Visitor pattern programming style. I.e. a class
that implements this interface can traverse the contents of a Java class just
by calling the `accept' method which all classes have.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
default void
visitConstantDynamic
(ConstantDynamic constantDynamic) void
void
void
void
void
void
void
void
void
void
visitConstantModule
(ConstantModule constantModule) void
void
visitConstantPackage
(ConstantPackage constantPackage) void
void
void
void
void
void
void
void
visitField
(Field obj) void
void
void
visitJavaClass
(JavaClass obj) void
void
void
void
void
void
visitMethod
(Method obj) default void
void
default void
visitModule
(Module constantModule) default void
visitModuleExports
(ModuleExports constantModule) default void
default void
visitModuleOpens
(ModuleOpens constantModule) default void
visitModulePackages
(ModulePackages constantModule) default void
visitModuleProvides
(ModuleProvides constantModule) default void
visitModuleRequires
(ModuleRequires constantModule) default void
visitNestHost
(NestHost obj) default void
void
void
void
visitSignature
(Signature obj) void
void
visitStackMap
(StackMap obj) void
void
visitSynthetic
(Synthetic obj) void
visitUnknown
(Unknown obj)
-
Method Details
-
visitCode
-
visitCodeException
-
visitConstantClass
-
visitConstantDouble
-
visitConstantFieldref
-
visitConstantFloat
-
visitConstantInteger
-
visitConstantInterfaceMethodref
-
visitConstantInvokeDynamic
-
visitConstantLong
-
visitConstantMethodref
-
visitConstantNameAndType
-
visitConstantPool
-
visitConstantString
-
visitConstantUtf8
-
visitConstantValue
-
visitDeprecated
-
visitExceptionTable
-
visitField
-
visitInnerClass
-
visitInnerClasses
-
visitJavaClass
-
visitLineNumber
-
visitLineNumberTable
-
visitLocalVariable
-
visitLocalVariableTable
-
visitMethod
-
visitSignature
-
visitSourceFile
-
visitSynthetic
-
visitUnknown
-
visitStackMap
-
visitStackMapEntry
-
visitAnnotation
- Since:
- 6.0
-
visitParameterAnnotation
- Since:
- 6.0
-
visitAnnotationEntry
- Since:
- 6.0
-
visitAnnotationDefault
- Since:
- 6.0
-
visitLocalVariableTypeTable
- Since:
- 6.0
-
visitEnclosingMethod
- Since:
- 6.0
-
visitBootstrapMethods
- Since:
- 6.0
-
visitMethodParameters
- Since:
- 6.0
-
visitMethodParameter
- Since:
- 6.4.0
-
visitConstantMethodType
- Since:
- 6.0
-
visitConstantMethodHandle
- Since:
- 6.0
-
visitParameterAnnotationEntry
- Since:
- 6.0
-
visitConstantPackage
- Since:
- 6.1
-
visitConstantModule
- Since:
- 6.1
-
visitConstantDynamic
- Since:
- 6.3
-
visitModule
- Since:
- 6.4.0
-
visitModuleRequires
- Since:
- 6.4.0
-
visitModuleExports
- Since:
- 6.4.0
-
visitModuleOpens
- Since:
- 6.4.0
-
visitModuleProvides
- Since:
- 6.4.0
-
visitModulePackages
- Since:
- 6.4.0
-
visitModuleMainClass
- Since:
- 6.4.0
-
visitNestHost
- Since:
- 6.4.0
-
visitNestMembers
- Since:
- 6.4.0
-