Class ThrowsAnnotation

  • 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 ThrowsAnnotation
     implements KotlinAnnotationSpecSupplier
                        

    Creates a @Throws annotation.

    • Constructor Detail

      • ThrowsAnnotation

        ThrowsAnnotation(List<TypeName> exceptions)
        Create new instance.
      • ThrowsAnnotation

        ThrowsAnnotation(TypeName exception, TypeName exceptions)
        Create new instance.
      • ThrowsAnnotation

        ThrowsAnnotation(CodeBlockArray<CodeBlock> members)