javapoet-dsl / com.mostlycertain.javapoetdsl / classSpec

classSpec

fun classSpec(name: ClassName, modifiers: List<Modifier> = emptyList(), annotations: List<AnnotationSpec> = emptyList(), implements: List<TypeName> = emptyList(), extends: TypeName? = null, block: ClassSpecFunc): ClassSpec
fun classSpec(name: String, modifiers: List<Modifier> = emptyList(), annotations: List<AnnotationSpec> = emptyList(), implements: List<TypeName> = emptyList(), extends: TypeName? = null, block: ClassSpecFunc): ClassSpec