Completion (Java SE 26 & JDK 26)
Description: declaration: module: java.compiler, package: javax.annotation.processing, interface: Completion
Keywords: javax.annotation.processing.Completion interface

# Interface Completion

public interface Completion
A suggested completion for an annotation. A completion is text meant to be inserted into a program as part of an annotation.

Since:
  1.6

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getMessage()`
  Returns an informative message about the completion.
  `String`
  `getValue()`
  Returns the text of the suggested completion.

- ## Method Details

  - ### getValue

    String getValue()
    Returns the text of the suggested completion.
    Returns:
      the text of the suggested completion

  - ### getMessage

    String getMessage()
    Returns an informative message about the completion.
    Returns:
      an informative message about the completion