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 Details

    • binaryRepresentation

      private final byte[] binaryRepresentation
      The type's binary representation.
    • auxiliaryTypes

      private final List<? extends DynamicType> auxiliaryTypes
      A list of auxiliary types for this unresolved type.
  • Constructor Details

    • UnresolvedType

      protected UnresolvedType(byte[] binaryRepresentation, 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 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.