Class AsmClassWriter.Factory.Suppressing

    • Constructor Detail

      • Suppressing

        public Suppressing​(AsmClassWriter.Factory delegate)
        Creates a suppressing class writer factory.
        Parameters:
        delegate - The factory to delegate to.
    • Method Detail

      • make

        public AsmClassWriter make​(int flags)
        Creates a new class writer for the given flags.
        Specified by:
        make in interface AsmClassWriter.Factory
        Parameters:
        flags - The flags to consider while writing a class file.
        Returns:
        An appropriate class writer.
      • make

        public AsmClassWriter make​(int flags,
                                   AsmClassReader classReader)
        Creates a new class writer for the given flags, possibly based on a previous class file representation.
        Specified by:
        make in interface AsmClassWriter.Factory
        Parameters:
        flags - The flags to consider while writing a class file.
        classReader - A class reader to consider for writing a class file.
        Returns:
        An appropriate class writer.
      • make

        public AsmClassWriter make​(int flags,
                                   TypePool typePool)
        Creates a new class writer for the given flags.
        Specified by:
        make in interface AsmClassWriter.Factory
        Parameters:
        flags - The flags to consider while writing a class file.
        typePool - A type pool to use for resolving type information for frame generation.
        Returns:
        An appropriate class writer.
      • make

        public AsmClassWriter make​(int flags,
                                   AsmClassReader classReader,
                                   TypePool typePool)
        Creates a new class writer for the given flags, possibly based on a previous class file representation.
        Specified by:
        make in interface AsmClassWriter.Factory
        Parameters:
        flags - The flags to consider while writing a class file.
        classReader - A class reader to consider for writing a class file.
        typePool - A type pool to use for resolving type information for frame generation.
        Returns:
        An appropriate class writer.