public interface GeneratedAnnotationProvider
Service provider interface to provide customization of generated annotation.
-
Method Summary
-
Method Details
-
create
Annotation create(TypeName generator, TypeName trigger, TypeName generatedType, String versionId, String comments) Create a generated annotation.- Parameters:
generator- type of the generator (annotation processor)trigger- type of the class that caused this type to be generatedgeneratedType- type that is going to be generatedversionId- version of the generatorcomments- additional comments, never use null (use empty string so they do not appear in annotation)- Returns:
- a new annotation to add to the generated type
-