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
default void
visitRecord
(Record obj) Visits aRecord
object.default void
Visits aRecordComponentInfo
object.void
visitSignature
(Signature obj) void
void
visitStackMap
(StackMap obj) void
default void
Visits aStackMapType
object.void
visitSynthetic
(Synthetic obj) void
visitUnknown
(Unknown obj)
-
Method Details
-
visitAnnotation
- Since:
- 6.0
-
visitAnnotationDefault
- Since:
- 6.0
-
visitAnnotationEntry
- Since:
- 6.0
-
visitBootstrapMethods
- Since:
- 6.0
-
visitCode
-
visitCodeException
-
visitConstantClass
-
visitConstantDouble
-
visitConstantDynamic
- Since:
- 6.3
-
visitConstantFieldref
-
visitConstantFloat
-
visitConstantInteger
-
visitConstantInterfaceMethodref
-
visitConstantInvokeDynamic
-
visitConstantLong
-
visitConstantMethodHandle
- Since:
- 6.0
-
visitConstantMethodref
-
visitConstantMethodType
- Since:
- 6.0
-
visitConstantModule
- Since:
- 6.1
-
visitConstantNameAndType
-
visitConstantPackage
- Since:
- 6.1
-
visitConstantPool
-
visitConstantString
-
visitConstantUtf8
-
visitConstantValue
-
visitDeprecated
-
visitEnclosingMethod
- Since:
- 6.0
-
visitExceptionTable
-
visitField
-
visitInnerClass
-
visitInnerClasses
-
visitJavaClass
-
visitLineNumber
-
visitLineNumberTable
-
visitLocalVariable
-
visitLocalVariableTable
-
visitLocalVariableTypeTable
- Since:
- 6.0
-
visitMethod
-
visitMethodParameter
- Since:
- 6.4.0
-
visitMethodParameters
- Since:
- 6.0
-
visitModule
- Since:
- 6.4.0
-
visitModuleExports
- Since:
- 6.4.0
-
visitModuleMainClass
- Since:
- 6.4.0
-
visitModuleOpens
- Since:
- 6.4.0
-
visitModulePackages
- Since:
- 6.4.0
-
visitModuleProvides
- Since:
- 6.4.0
-
visitModuleRequires
- Since:
- 6.4.0
-
visitNestHost
- Since:
- 6.4.0
-
visitNestMembers
- Since:
- 6.4.0
-
visitParameterAnnotation
- Since:
- 6.0
-
visitParameterAnnotationEntry
- Since:
- 6.0
-
visitRecord
Visits aRecord
object.- Parameters:
obj
- Record to visit- Since:
- 6.9.0
-
visitRecordComponent
Visits aRecordComponentInfo
object.- Parameters:
record
- component to visit- Since:
- 6.9.0
-
visitSignature
-
visitSourceFile
-
visitStackMap
-
visitStackMapEntry
-
visitStackMapType
Visits aStackMapType
object.- Parameters:
obj
- object to visit- Since:
- 6.8.0
-
visitSynthetic
-
visitUnknown
-