Class TypeWriter.Default.UnresolvedType

  • Enclosing class:
    TypeWriter.Default<S>

    protected class TypeWriter.Default.UnresolvedType
    extends java.lang.Object
    An 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.
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object