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 Detail

      • visitCode

        void visitCode​(Code obj)
      • visitCodeException

        void visitCodeException​(CodeException obj)
      • visitConstantClass

        void visitConstantClass​(ConstantClass obj)
      • visitConstantDouble

        void visitConstantDouble​(ConstantDouble obj)
      • visitConstantFloat

        void visitConstantFloat​(ConstantFloat obj)
      • visitConstantLong

        void visitConstantLong​(ConstantLong obj)
      • visitConstantPool

        void visitConstantPool​(ConstantPool obj)
      • visitConstantString

        void visitConstantString​(ConstantString obj)
      • visitConstantUtf8

        void visitConstantUtf8​(ConstantUtf8 obj)
      • visitConstantValue

        void visitConstantValue​(ConstantValue obj)
      • visitDeprecated

        void visitDeprecated​(Deprecated obj)
      • visitExceptionTable

        void visitExceptionTable​(ExceptionTable obj)
      • visitField

        void visitField​(Field obj)
      • visitInnerClass

        void visitInnerClass​(InnerClass obj)
      • visitInnerClasses

        void visitInnerClasses​(InnerClasses obj)
      • visitJavaClass

        void visitJavaClass​(JavaClass obj)
      • visitLineNumber

        void visitLineNumber​(LineNumber obj)
      • visitLocalVariable

        void visitLocalVariable​(LocalVariable obj)
      • visitMethod

        void visitMethod​(Method obj)
      • visitSignature

        void visitSignature​(Signature obj)
      • visitSourceFile

        void visitSourceFile​(SourceFile obj)
      • visitSynthetic

        void visitSynthetic​(Synthetic obj)
      • visitUnknown

        void visitUnknown​(Unknown obj)
      • visitStackMap

        void visitStackMap​(StackMap obj)
      • visitStackMapEntry

        void visitStackMapEntry​(StackMapEntry obj)
      • visitAnnotation

        void visitAnnotation​(Annotations obj)
        Since:
        6.0
      • visitAnnotationEntry

        void visitAnnotationEntry​(AnnotationEntry obj)
        Since:
        6.0
      • visitAnnotationDefault

        void visitAnnotationDefault​(AnnotationDefault obj)
        Since:
        6.0
      • visitEnclosingMethod

        void visitEnclosingMethod​(EnclosingMethod obj)
        Since:
        6.0
      • visitBootstrapMethods

        void visitBootstrapMethods​(BootstrapMethods obj)
        Since:
        6.0
      • visitMethodParameters

        void visitMethodParameters​(MethodParameters obj)
        Since:
        6.0
      • visitMethodParameter

        default void visitMethodParameter​(MethodParameter obj)
        Since:
        6.4.0
      • visitConstantMethodType

        void visitConstantMethodType​(ConstantMethodType obj)
        Since:
        6.0
      • visitConstantMethodHandle

        void visitConstantMethodHandle​(ConstantMethodHandle obj)
        Since:
        6.0
      • visitConstantPackage

        void visitConstantPackage​(ConstantPackage constantPackage)
        Since:
        6.1
      • visitConstantModule

        void visitConstantModule​(ConstantModule constantModule)
        Since:
        6.1
      • visitConstantDynamic

        default void visitConstantDynamic​(ConstantDynamic constantDynamic)
        Since:
        6.3
      • visitModule

        default void visitModule​(Module constantModule)
        Since:
        6.4.0
      • visitModuleRequires

        default void visitModuleRequires​(ModuleRequires constantModule)
        Since:
        6.4.0
      • visitModuleExports

        default void visitModuleExports​(ModuleExports constantModule)
        Since:
        6.4.0
      • visitModuleOpens

        default void visitModuleOpens​(ModuleOpens constantModule)
        Since:
        6.4.0
      • visitModuleProvides

        default void visitModuleProvides​(ModuleProvides constantModule)
        Since:
        6.4.0
      • visitModulePackages

        default void visitModulePackages​(ModulePackages constantModule)
        Since:
        6.4.0
      • visitModuleMainClass

        default void visitModuleMainClass​(ModuleMainClass obj)
        Since:
        6.4.0
      • visitNestHost

        default void visitNestHost​(NestHost obj)
        Since:
        6.4.0
      • visitNestMembers

        default void visitNestMembers​(NestMembers obj)
        Since:
        6.4.0