Class TypePool.Default.ComponentTypeLocator.ForAnnotationProperty

    • Field Detail

      • typePool

        private final TypePool typePool
        The type pool to query for type descriptions.
      • annotationName

        private final java.lang.String annotationName
        The name of the annotation to analyze.
    • Constructor Detail

      • ForAnnotationProperty

        public ForAnnotationProperty​(TypePool typePool,
                                     java.lang.String annotationDescriptor)
        Creates a new component type locator for an array value.
        Parameters:
        typePool - The type pool to be used for looking up linked types.
        annotationDescriptor - A descriptor of the annotation to analyze.
    • Method Detail

      • bind

        public TypePool.AbstractBase.ComponentTypeReference bind​(java.lang.String name)
        Binds this component type to a given property name of an annotation.
        Specified by:
        bind in interface TypePool.Default.ComponentTypeLocator
        Parameters:
        name - The name of an annotation property which the returned component type reference should query for resolving an array's component type.
        Returns:
        A component type reference to an annotation value's component type.