Class TypePool.Default.ComponentTypeLocator.ForArrayType

    • Field Detail

      • componentType

        private final java.lang.String componentType
        The resolved component type's binary name.
    • Constructor Detail

      • ForArrayType

        public ForArrayType​(java.lang.String methodDescriptor)
        Creates a new component type locator for an array type.
        Parameters:
        methodDescriptor - The method descriptor to resolve.
    • 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.
      • lookup

        public java.lang.String lookup()
        Lazily returns the binary name of the array component type of an annotation value.
        Specified by:
        lookup in interface TypePool.AbstractBase.ComponentTypeReference
        Returns:
        The binary name of the component type.