@HashCodeAndEqualsPlugin.Enhance public static class ClassWriterStrategy.Delegating extends Object implements AsmClassWriter.Factory
ClassWriterStrategy
.AsmClassWriter.Factory.Default, AsmClassWriter.Factory.Suppressing
Constructor and Description |
---|
Delegating(ClassWriterStrategy classWriterStrategy)
Creates a delegating class writer factory.
|
Modifier and Type | Method and Description |
---|---|
AsmClassWriter |
make(int flags)
Creates a new class writer for the given flags.
|
AsmClassWriter |
make(int flags,
AsmClassReader classReader)
Creates a new class writer for the given flags, possibly based on a previous class file representation.
|
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.
|
AsmClassWriter |
make(int flags,
TypePool typePool)
Creates a new class writer for the given flags.
|
public Delegating(ClassWriterStrategy classWriterStrategy)
classWriterStrategy
- The class writer strategy to delegate to.public AsmClassWriter make(int flags)
make
in interface AsmClassWriter.Factory
flags
- The flags to consider while writing a class file.public AsmClassWriter make(int flags, AsmClassReader classReader)
make
in interface AsmClassWriter.Factory
flags
- The flags to consider while writing a class file.classReader
- A class reader to consider for writing a class file.public AsmClassWriter make(int flags, TypePool typePool)
make
in interface AsmClassWriter.Factory
flags
- The flags to consider while writing a class file.typePool
- A type pool to use for resolving type information for frame generation.public AsmClassWriter make(int flags, AsmClassReader classReader, TypePool typePool)
make
in interface AsmClassWriter.Factory
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.Copyright © 2014–2024. All rights reserved.