Module jdk.compiler

Interface ProvidesTree

  • All Superinterfaces:
    BlockTagTree, DocTree

    public interface ProvidesTree
    extends BlockTagTree
    A tree node for a @provides block tag.

    @provides service-type description

    Since:
    9
    • Method Detail

      • getServiceType

        ReferenceTree getServiceType()
        Returns the name of the service type being documented.
        Returns:
        the name of the service type
      • getDescription

        List<? extends DocTree> getDescription()
        Returns a description of the service type being provided by the module.
        Returns:
        the description