Package net.bytebuddy.dynamic.scaffold
Class TypeWriter.Default.UnresolvedType
- java.lang.Object
-
- net.bytebuddy.dynamic.scaffold.TypeWriter.Default.UnresolvedType
-
- Enclosing class:
- TypeWriter.Default<S>
protected class TypeWriter.Default.UnresolvedType extends java.lang.ObjectAn unresolved type.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnresolvedType(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 booleanequals(java.lang.Object object)protected byte[]getBinaryRepresentation()Returns the binary representation of this unresolved type.inthashCode()protected DynamicType.Unloaded<S>toDynamicType(TypeResolutionStrategy.Resolved typeResolutionStrategy)Resolves this type to a dynamic 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.
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-