Class TypePool.Default.LazyTypeDescription.GenericTypeToken.ForGenericArray.LazyGenericArray

    • Constructor Detail

      • LazyGenericArray

        protected LazyGenericArray​(TypePool typePool,
                                   TypeVariableSource typeVariableSource,
                                   java.lang.String typePath,
                                   java.util.Map<java.lang.String,​java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
                                   TypePool.Default.LazyTypeDescription.GenericTypeToken componentTypeToken)
        Creates a new lazy generic array.
        Parameters:
        typePool - The type pool to use.
        typeVariableSource - The type variable source for locating type variables.
        typePath - This type's type path.
        annotationTokens - This type's type annotations.
        componentTypeToken - A tokenized representation of this generic arrays's component type.
    • Method Detail

      • getDeclaredAnnotations

        public AnnotationList getDeclaredAnnotations()
        Returns a list of annotations that are declared by this instance.
        Returns:
        A list of declared annotations.