public final class TargetType extends Object
DynamicType.Builder
.Modifier and Type | Field and Description |
---|---|
static TypeDescription |
DESCRIPTION
A description of the
TargetType . |
Modifier and Type | Method and Description |
---|---|
static TypeDescription |
resolve(TypeDescription typeDescription,
TypeDescription targetType)
Resolves the given type description to the supplied target type if it represents the
TargetType placeholder. |
public static final TypeDescription DESCRIPTION
TargetType
.public static TypeDescription resolve(TypeDescription typeDescription, TypeDescription targetType)
TargetType
placeholder.
Array types are resolved to their component type and rebuilt as an array of the actual target type, if necessary.typeDescription
- The type description that might represent the TargetType
placeholder.targetType
- The actual target type.Copyright © 2014–2025. All rights reserved.