public final class TargetType extends Object
DynamicType.Builder
.Modifier and Type | Field and Description |
---|---|
static TypeDescription |
DESCRIPTION
A description representation of the
TargetType . |
Modifier and Type | Method and Description |
---|---|
static TypeList |
resolve(List<? extends TypeDescription> typeList,
TypeDescription actualTargetType)
Resolves any type description in the given listwith the actual target type if the
typeDescription resembles the
TargetType placeholder. |
static TypeDescription |
resolve(TypeDescription typeDescription,
TypeDescription actualTargetType)
Resolves the given type description with the actual target type if the
typeDescription resembles the
TargetType placeholder. |
public static final TypeDescription DESCRIPTION
TargetType
.public static TypeDescription resolve(TypeDescription typeDescription, TypeDescription actualTargetType)
typeDescription
resembles the
TargetType
placeholder.typeDescription
- The type description to resolve.actualTargetType
- The actual type for which TargetType
was a placeholder.public static TypeList resolve(List<? extends TypeDescription> typeList, TypeDescription actualTargetType)
typeDescription
resembles the
TargetType
placeholder.typeList
- The list to resolve.actualTargetType
- The actual type for which TargetType
was a placeholder.Copyright © 2014–2015. All rights reserved.