Class HelidonCopyrightProvider

java.lang.Object
io.helidon.codegen.helidon.copyright.HelidonCopyrightProvider
All Implemented Interfaces:
CopyrightProvider

public class HelidonCopyrightProvider extends Object implements CopyrightProvider
Java ServiceLoader provider implementation that generates copyright as used by the Helidon project.
  • Constructor Details

    • HelidonCopyrightProvider

      public HelidonCopyrightProvider()
      Default constructor required by the ServiceLoader.
  • Method Details

    • copyright

      public String copyright(TypeName generator, TypeName trigger, TypeName generatedType)
      Description copied from interface: CopyrightProvider
      Create a copyright header, including comment begin/end, or line comments.
      Specified by:
      copyright in interface CopyrightProvider
      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)