Class DeprecatedAnnotation
-
- All Implemented Interfaces:
-
io.toolisticon.kotlin.generation.poet.AnnotationSpecSupplier,io.toolisticon.kotlin.generation.poet.PoetSpecSupplier,io.toolisticon.kotlin.generation.spec.KotlinAnnotationSpecSupplier,io.toolisticon.kotlin.generation.spec.KotlinGeneratorSpecSupplier,java.util.function.Supplier
public final class DeprecatedAnnotation implements KotlinAnnotationSpecSupplier
Builder to create a
@Deprecatedannotation.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringmessageprivate final DeprecationLeveldeprecationLevel
-
Constructor Summary
Constructors Constructor Description DeprecatedAnnotation(String message, DeprecationLevel deprecationLevel)
-
Method Summary
Modifier and Type Method Description final StringgetMessage()final DeprecationLevelgetDeprecationLevel()KotlinAnnotationSpecspec()-
-
Constructor Detail
-
DeprecatedAnnotation
DeprecatedAnnotation(String message, DeprecationLevel deprecationLevel)
-
-
Method Detail
-
getMessage
final String getMessage()
-
getDeprecationLevel
final DeprecationLevel getDeprecationLevel()
-
spec
KotlinAnnotationSpec spec()
-
-
-
-