Package net.bytebuddy
Enum NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType
java.lang.Object
java.lang.Enum<NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType>
net.bytebuddy.NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType
- All Implemented Interfaces:
Serializable
,Comparable<NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType>
,java.lang.constant.Constable
,NamingStrategy.Suffixing.BaseNameResolver
,NamingStrategy.SuffixingRandom.BaseNameResolver
- Enclosing interface:
NamingStrategy.SuffixingRandom.BaseNameResolver
@Deprecated
public static enum NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType
extends Enum<NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType>
implements NamingStrategy.SuffixingRandom.BaseNameResolver
Deprecated.
Uses the unnamed type's super type's name as the resolved name.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.bytebuddy.NamingStrategy.Suffixing.BaseNameResolver
NamingStrategy.Suffixing.BaseNameResolver.WithCallerSuffix
Nested classes/interfaces inherited from interface net.bytebuddy.NamingStrategy.SuffixingRandom.BaseNameResolver
NamingStrategy.SuffixingRandom.BaseNameResolver.ForFixedValue, NamingStrategy.SuffixingRandom.BaseNameResolver.ForGivenType, NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve
(TypeDescription typeDescription) Deprecated.Resolves the base name for a given type description.Deprecated.Returns the enum constant of this type with the specified name.values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
Deprecated.The singleton instance.
-
-
Constructor Details
-
ForUnnamedType
private ForUnnamedType()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 the base name for a given type description.- Specified by:
resolve
in interfaceNamingStrategy.Suffixing.BaseNameResolver
- Parameters:
typeDescription
- The type for which the base name is resolved.- Returns:
- The base name for the given type.
-
NamingStrategy.Suffixing.BaseNameResolver.ForUnnamedType
.