Package net.bytebuddy.dynamic.scaffold
Class TypeWriter.Default.UnresolvedType
java.lang.Object
net.bytebuddy.dynamic.scaffold.TypeWriter.Default.UnresolvedType
- Enclosing class:
- TypeWriter.Default<S>
@Enhance(includeSyntheticFields=true)
protected class TypeWriter.Default.UnresolvedType
extends Object
An unresolved type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<? extends DynamicType>
A list of auxiliary types for this unresolved type.private final byte[]
The type's binary representation. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
UnresolvedType
(byte[] binaryRepresentation, List<? extends DynamicType> auxiliaryTypes) Creates a new unresolved type. -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]
Returns the binary representation of this unresolved type.protected DynamicType.Unloaded<S>
toDynamicType
(TypeResolutionStrategy.Resolved typeResolutionStrategy) Resolves this type to a dynamic type.
-
Field Details
-
binaryRepresentation
private final byte[] binaryRepresentationThe type's binary representation. -
auxiliaryTypes
A list of auxiliary types for this unresolved type.
-
-
Constructor Details
-
UnresolvedType
Creates a new unresolved type.- Parameters:
binaryRepresentation
- The type's binary representation.auxiliaryTypes
- A list of auxiliary types for this unresolved type.
-
-
Method Details
-
toDynamicType
protected DynamicType.Unloaded<S> toDynamicType(TypeResolutionStrategy.Resolved typeResolutionStrategy) Resolves this type to a dynamic type.- Parameters:
typeResolutionStrategy
- The type resolution strategy to apply.- Returns:
- A dynamic type representing the inlined type.
-
getBinaryRepresentation
protected byte[] getBinaryRepresentation()Returns the binary representation of this unresolved type.- Returns:
- The binary representation of this unresolved type.
-