Interface KotlinAnnotatableBuilder
-
- All Implemented Interfaces:
public interface KotlinAnnotatableBuilder<SELF extends Object>
Typesafe wrapper for Annotatable.Builder.
-
-
Method Summary
Modifier and Type Method Description abstract SELF
addAnnotation(KotlinAnnotationSpecSupplier spec)
Implementing builder needs to store the spec provided and apply it to the build. SELF
addAnnotation(AnnotationSpec annotationSpec)
Add annotation. SELF
addAnnotation(ClassName annotation)
Add annotation. SELF
addAnnotation(KClass<?> annotation)
Add annotation. SELF
addAnnotation(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.
-
-
-
-