Package net.bytebuddy.dynamic.scaffold
Interface ClassWriterStrategy
-
- All Known Implementing Classes:
ClassWriterStrategy.Default
public interface ClassWriterStrategyA class writer strategy is responsible for the creation of aClassWriterwhen creating a type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classClassWriterStrategy.DefaultDefault implementations of class writer strategies.static classClassWriterStrategy.FrameComputingClassWriterA class writer that piggy-backs on Byte Buddy'sTypePoolto avoid class loading or look-up errors when redefining a class.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.objectweb.asm.ClassWriterresolve(int flags, TypePool typePool)Resolves a class writer.org.objectweb.asm.ClassWriterresolve(int flags, TypePool typePool, org.objectweb.asm.ClassReader classReader)Resolves a class writer.
-
-
-
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.
-
-