Interface ClassWriterStrategy

  • All Known Implementing Classes:
    ClassWriterStrategy.Default

    public interface ClassWriterStrategy
    A class writer strategy is responsible for the creation of a ClassWriter when creating a type.
    • Method Detail

      • resolve

        org.objectweb.asm.ClassWriter resolve​(int flags,
                                              TypePool typePool)
        Resolves a class writer.
        Parameters:
        flags - The flags to set.
        typePool - A type pool for locating types.
        Returns:
        The class writer to use.
      • resolve

        org.objectweb.asm.ClassWriter resolve​(int flags,
                                              TypePool typePool,
                                              org.objectweb.asm.ClassReader classReader)
        Resolves a class writer.
        Parameters:
        flags - The flags to set.
        typePool - A type pool for locating types.
        classReader - The class reader from which the original class is read.
        Returns:
        The class writer to use.