Package de.jensklingenberg.ktorfit

Functions

findAnnotationOrNull
Link copied to clipboard
inline fun <T> FunctionData.findAnnotationOrNull(): T?
inline fun <T> ParameterData.findAnnotationOrNull(): T?
getAnnotationByName
Link copied to clipboard
fun KSFunctionDeclaration.getAnnotationByName(name: String): KSAnnotation?
getArgumentValueByName
Link copied to clipboard
fun <T> KSAnnotation.getArgumentValueByName(name: String): T?
getBodyAnnotation
Link copied to clipboard
fun KSValueParameter.getBodyAnnotation(): Body?
getFieldAnnotation
Link copied to clipboard
fun KSValueParameter.getFieldAnnotation(): Field?
getFieldMapAnnotation
Link copied to clipboard
fun KSValueParameter.getFieldMapAnnotation(): FieldMap?
getFormUrlEncodedAnnotation
Link copied to clipboard
fun KSFunctionDeclaration.getFormUrlEncodedAnnotation(): FormUrlEncoded?
getHeaderMapAnnotation
Link copied to clipboard
fun KSValueParameter.getHeaderMapAnnotation(): HeaderMap?
getHeadersAnnotation
Link copied to clipboard
fun KSFunctionDeclaration.getHeadersAnnotation(): Headers?
fun KSValueParameter.getHeadersAnnotation(): Header?
getMultipartAnnotation
Link copied to clipboard
fun KSFunctionDeclaration.getMultipartAnnotation(): Multipart?
getPartAnnotation
Link copied to clipboard
fun KSValueParameter.getPartAnnotation(): Part?
getPartMapAnnotation
Link copied to clipboard
fun KSValueParameter.getPartMapAnnotation(): PartMap?
getPathAnnotation
Link copied to clipboard
fun KSValueParameter.getPathAnnotation(): Path?
getQueryAnnotation
Link copied to clipboard
fun KSValueParameter.getQueryAnnotation(): Query?
getQueryMapAnnotation
Link copied to clipboard
fun KSValueParameter.getQueryMapAnnotation(): QueryMap?
getQueryNameAnnotation
Link copied to clipboard
fun KSValueParameter.getQueryNameAnnotation(): QueryName?
getRequestBuilderAnnotation
Link copied to clipboard
fun KSValueParameter.getRequestBuilderAnnotation(): RequestBuilder?
getStreamingAnnotation
Link copied to clipboard
fun KSFunctionDeclaration.getStreamingAnnotation(): Streaming?
getUrlAnnotation
Link copied to clipboard
fun KSValueParameter.getUrlAnnotation(): Url?
hasAnnotation
Link copied to clipboard
inline fun <T> ParameterData.hasAnnotation(): Boolean
ktorfitError
Link copied to clipboard
fun KSPLogger.ktorfitError(s: String, classDec: KSNode)
parseHTTPMethodAnno
Link copied to clipboard
fun KSFunctionDeclaration.parseHTTPMethodAnno(name: String): HttpMethodAnnotation?
postfixIfNotEmpty
Link copied to clipboard
fun String.postfixIfNotEmpty(s: String): String
prefixIfNotEmpty
Link copied to clipboard
fun String.prefixIfNotEmpty(s: String): String
resolveTypeName
Link copied to clipboard
fun KSType?.resolveTypeName(): String
surroundIfNotEmpty
Link copied to clipboard
fun String.surroundIfNotEmpty(prefix: String = "", postFix: String = ""): String
surroundWith
Link copied to clipboard
fun String.surroundWith(s: String): String

Properties

isSuspend
Link copied to clipboard
val KSFunctionDeclaration.isSuspend: Boolean