com.casadetasha.kexp.sproute.processor.sproutes.SprouteParent.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sproutes-processor Show documentation
Show all versions of sproutes-processor Show documentation
KAPT processor to manage routing boilerplate for KTOR projects. Use in conjunction with the sproutes library.
package com.casadetasha.kexp.sproute.processor.sproutes
import com.squareup.kotlinpoet.MemberName
internal sealed class SprouteParent(
val packageName: String,
val classSimpleName: String
) : Comparable {
val memberName = MemberName(packageName, classSimpleName)
abstract val sprouteRequestFunctions: Set
override fun compareTo(other: SprouteParent): Int {
return this.memberName.toString().compareTo(other.memberName.toString())
}
}