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 java.lang.Object
An unresolved type.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<? extends DynamicType>
auxiliaryTypes
A list of auxiliary types for this unresolved type.private byte[]
binaryRepresentation
The type's binary representation.
-
Constructor Summary
Constructors Modifier Constructor Description protected
UnresolvedType(byte[] binaryRepresentation, java.util.List<? extends DynamicType> auxiliaryTypes)
Creates a new unresolved type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]
getBinaryRepresentation()
Returns the binary representation of this unresolved type.protected DynamicType.Unloaded<S>
toDynamicType(TypeResolutionStrategy.Resolved typeResolutionStrategy)
Resolves this type to a dynamic type.
-
-
-
Field Detail
-
binaryRepresentation
private final byte[] binaryRepresentation
The type's binary representation.
-
auxiliaryTypes
private final java.util.List<? extends DynamicType> auxiliaryTypes
A list of auxiliary types for this unresolved type.
-
-
Constructor Detail
-
UnresolvedType
protected UnresolvedType(byte[] binaryRepresentation, java.util.List<? extends DynamicType> auxiliaryTypes)
Creates a new unresolved type.- Parameters:
binaryRepresentation
- The type's binary representation.auxiliaryTypes
- A list of auxiliary types for this unresolved type.
-
-
Method Detail
-
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.
-
-