Enum ClassWriterStrategy.Default
java.lang.Object
java.lang.Enum<ClassWriterStrategy.Default>
net.bytebuddy.dynamic.scaffold.ClassWriterStrategy.Default
- All Implemented Interfaces:
Serializable, Comparable<ClassWriterStrategy.Default>, java.lang.constant.Constable, ClassWriterStrategy
- Enclosing interface:
ClassWriterStrategy
@Deprecated
public static enum ClassWriterStrategy.Default
extends Enum<ClassWriterStrategy.Default>
implements ClassWriterStrategy
Deprecated.
Default implementations of class writer strategies.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Nested classes/interfaces inherited from interface ClassWriterStrategy
ClassWriterStrategy.Default, ClassWriterStrategy.Delegating, ClassWriterStrategy.FrameComputingClassWriter -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.A class writer strategy that discards the original class's constant pool if applicable.Deprecated.A class writer strategy that retains the original class's constant pool if applicable. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.ClassWriterDeprecated.Resolves a class writer.static ClassWriterStrategy.DefaultDeprecated.Returns the enum constant of this type with the specified name.static ClassWriterStrategy.Default[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface ClassWriterStrategy
resolve
-
Enum Constant Details
-
CONSTANT_POOL_RETAINING
Deprecated.A class writer strategy that retains the original class's constant pool if applicable. -
CONSTANT_POOL_DISCARDING
Deprecated.A class writer strategy that discards the original class's constant pool if applicable.
-
-
Constructor Details
-
Default
private Default()Deprecated.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
resolve
Deprecated.Resolves a class writer.- Specified by:
resolvein interfaceClassWriterStrategy- Parameters:
flags- The flags to set.typePool- A type pool for locating types.- Returns:
- The class writer to use.
-
AsmClassWriter.Factory.SuppressingorByteBuddy.withIgnoredClassReader().