What is the default annotation processors discovery process?

后端 未结 1 1767
别跟我提以往
别跟我提以往 2020-12-01 08:37

The documentation of Maven Compiler plugin mentions the following:

annotationProcessors:

Names of annotation processors t

相关标签:
1条回答
  • 2020-12-01 08:54

    The default way to make an annotation processor available to the compiler is to register it in a file in META-INF/services/javax.annotation.processing.Processor. The file can contain a number of processors: each the fully-qualified class name on its own line, with a newline at the end. The compiler will default to using processors found in this way if none are specified.

    0 讨论(0)
提交回复
热议问题