Interface KotlinAnnotatableBuilder
-
- All Implemented Interfaces:
-
io.toolisticon.kotlin.generation.builder.KotlinTaggableBuilder
public interface KotlinAnnotatableBuilder<SELF extends Object> implements KotlinTaggableBuilder<SELF>
Typesafe wrapper for Annotatable.Builder.
-
-
Method Summary
Modifier and Type Method Description abstract SELFaddAnnotation(KotlinAnnotationSpecSupplier spec)Implementing builder needs to store the spec provided and apply it to the build. SELFaddAnnotation(AnnotationSpec annotationSpec)Add annotation. SELFaddAnnotation(ClassName annotation)Add annotation. SELFaddAnnotation(KClass<?> annotation)Add annotation. SELFaddAnnotation(AnnotationSpecSupplier annotationSpec)Add annotation. -
-
Method Detail
-
addAnnotation
abstract SELF addAnnotation(KotlinAnnotationSpecSupplier spec)
Implementing builder needs to store the spec provided and apply it to the build.
-
addAnnotation
SELF addAnnotation(AnnotationSpec annotationSpec)
Add annotation.
-
addAnnotation
SELF addAnnotation(ClassName annotation)
Add annotation.
-
addAnnotation
SELF addAnnotation(KClass<?> annotation)
Add annotation.
-
addAnnotation
SELF addAnnotation(AnnotationSpecSupplier annotationSpec)
Add annotation.
-
-
-
-