Class ClassInitializer

    • Constructor Detail

      • ClassInitializer

        public ClassInitializer​(ClassPool programClassPool,
                                ClassPool libraryClassPool)
        Creates a new ClassInitializer that initializes the class hierarchies and references of all visited class files.
      • ClassInitializer

        public ClassInitializer​(ClassPool programClassPool,
                                ClassPool libraryClassPool,
                                WarningPrinter missingClassWarningPrinter,
                                WarningPrinter missingProgramMemberWarningPrinter,
                                WarningPrinter missingLibraryMemberWarningPrinter,
                                WarningPrinter dependencyWarningPrinter)
        Creates a new ClassInitializer that initializes the class hierarchies and references of all visited class files, optionally printing warnings if some classes or class members can't be found or if they are in the program class pool.
      • ClassInitializer

        public ClassInitializer​(ClassPool programClassPool,
                                ClassPool libraryClassPool,
                                boolean checkAccessRules,
                                WarningPrinter missingClassWarningPrinter,
                                WarningPrinter missingProgramMemberWarningPrinter,
                                WarningPrinter missingLibraryMemberWarningPrinter,
                                WarningPrinter dependencyWarningPrinter)
        Creates a new ClassInitializer that initializes the references of all visited class files, optionally printing warnings if some classes or class members can't be found or if they are in the program class pool.
    • Method Detail

      • visitAnyClass

        public void visitAnyClass​(Clazz clazz)
        Description copied from interface: ClassVisitor
        Visits any Clazz instance. The more specific default implementations of this interface delegate to this method.
        Specified by:
        visitAnyClass in interface ClassVisitor