Package net.bytebuddy.utility
Class AsmClassWriter.Factory.Suppressing
java.lang.Object
net.bytebuddy.utility.AsmClassWriter.Factory.Suppressing
- All Implemented Interfaces:
AsmClassWriter.Factory
- Enclosing interface:
AsmClassWriter.Factory
@Enhance
public static class AsmClassWriter.Factory.Suppressing
extends Object
implements AsmClassWriter.Factory
A class writer factory that suppresses any class reader implementation that might be provided
upon constructing a class writer.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.utility.AsmClassWriter.Factory
AsmClassWriter.Factory.Default, AsmClassWriter.Factory.Suppressing
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AsmClassWriter.Factory
The factory to delegate to. -
Constructor Summary
ConstructorsConstructorDescriptionSuppressing
(AsmClassWriter.Factory delegate) Creates a suppressing class writer factory. -
Method Summary
Modifier and TypeMethodDescriptionmake
(int flags) Creates a new class writer for the given flags.Creates a new class writer for the given flags.make
(int flags, AsmClassReader classReader) Creates a new class writer for the given flags, possibly based on a previous class file representation.make
(int flags, AsmClassReader classReader, TypePool typePool) Creates a new class writer for the given flags, possibly based on a previous class file representation.
-
Field Details
-
delegate
The factory to delegate to.
-
-
Constructor Details
-
Suppressing
Creates a suppressing class writer factory.- Parameters:
delegate
- The factory to delegate to.
-
-
Method Details
-
make
Creates a new class writer for the given flags.- Specified by:
make
in interfaceAsmClassWriter.Factory
- Parameters:
flags
- The flags to consider while writing a class file.- Returns:
- An appropriate class writer.
-
make
Creates a new class writer for the given flags, possibly based on a previous class file representation.- Specified by:
make
in interfaceAsmClassWriter.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
Creates a new class writer for the given flags.- Specified by:
make
in interfaceAsmClassWriter.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
Creates a new class writer for the given flags, possibly based on a previous class file representation.- Specified by:
make
in interfaceAsmClassWriter.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.
-