Interface TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable

    • Method Detail

      • toGenericType

        TypeDescription.Generic toGenericType​(TypePool typePool,
                                              TypeVariableSource typeVariableSource,
                                              java.util.Map<java.lang.String,​java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
                                              java.util.Map<java.lang.Integer,​java.util.Map<java.lang.String,​java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> boundaryAnnotationTokens)
        Transforms this token into a generic type representation.
        Parameters:
        typePool - The type pool to be used for locating non-generic type descriptions.
        typeVariableSource - The type variable source.
        annotationTokens - A mapping of the type variables' type annotations.
        boundaryAnnotationTokens - A mapping of the type variables' bounds' type annotation by their bound index.
        Returns:
        A generic type representation of this formal type variable.