Interface CopyrightProvider

All Known Implementing Classes:
HelidonCopyrightProvider

public interface CopyrightProvider
Extension point to customize copyright headers for generated types.
  • Method Summary

    Modifier and Type
    Method
    Description
    copyright(TypeName generator, TypeName trigger, TypeName generatedType)
    Create a copyright header, including comment begin/end, or line comments.
  • Method Details

    • copyright

      String copyright(TypeName generator, TypeName trigger, TypeName generatedType)
      Create a copyright header, including comment begin/end, or line comments.
      Parameters:
      generator - type of the generator (annotation processor)
      trigger - type of the class that caused this type to be generated
      generatedType - type that is going to be generated
      Returns:
      copyright string (can be multiline)