All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.casadetasha.kexp.sproute.processor.sproutes.SprouteParent.kt Maven / Gradle / Ivy

Go to download

KAPT processor to manage routing boilerplate for KTOR projects. Use in conjunction with the sproutes library.

There is a newer version: 2.1.2-beta-1
Show newest version
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())
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy