Package org.babyfish.jimmer.ksp

Types

Link copied to clipboard
class Context(resolver: Resolver, environment: SymbolProcessorEnvironment)
Link copied to clipboard
class GeneratorException(message: String) : RuntimeException
Link copied to clipboard
class JimmerProcessor(environment: SymbolProcessorEnvironment) : SymbolProcessor
Link copied to clipboard
class JimmerProcessorProvider : SymbolProcessorProvider
Link copied to clipboard
class KspDtoCompiler(dtoFile: DtoFile, resolver: Resolver, defaultNullableInputModifier: DtoModifier) : DtoCompiler<ImmutableType, ImmutableProp>
Link copied to clipboard
open class MetaException(declaration: KSDeclaration, childDeclaration: KSDeclaration?, reason: String, cause: Throwable?) : RuntimeException

Functions

Link copied to clipboard
fun KSAnnotated.annotation(qualifiedName: String): KSAnnotation?
fun KSAnnotated.annotation(annotationType: KClass<out Annotation>): KSAnnotation?
Link copied to clipboard
fun KSAnnotated.annotations(predicate: (KSAnnotation) -> Boolean): List<KSAnnotation>
fun KSAnnotated.annotations(annotationType: KClass<out Annotation>): List<KSAnnotation>
Link copied to clipboard
fun KSClassDeclaration.className(nullable: Boolean = false, simpleNameTranslator: (String) -> String = {it}): ClassName
Link copied to clipboard
operator fun <T> KSAnnotation.get(name: String): T?
operator fun <T> KSAnnotation.get(annoProp: KProperty1<out Annotation, T>): T?
Link copied to clipboard
fun KSAnnotation.getClassArgument(annoProp: KProperty1<out Annotation, KClass<*>>): KSClassDeclaration?
Link copied to clipboard
fun KSAnnotation.getClassListArgument(annoProp: KProperty1<out Annotation, Array<out KClass<*>>>): List<KSClassDeclaration>
Link copied to clipboard
inline fun <E : Enum<E>> KSAnnotation.getEnumListArgument(annoProp: KProperty1<out Annotation, Array<out E>>): List<E>
Link copied to clipboard
fun <T> KSAnnotation.getListArgument(annoProp: KProperty1<out Annotation, Array<out T>>): List<T>?
Link copied to clipboard
fun TypeName.isBuiltInType(nullable: Boolean? = null): Boolean
Link copied to clipboard
fun KSClassDeclaration.nestedClassName(nullable: Boolean = false, simpleNameListTranslator: (String) -> List<String>): ClassName

Properties

Link copied to clipboard
val KSDeclaration.fullName: String
Link copied to clipboard
val KSAnnotation.fullName: String
Link copied to clipboard
val KSPropertyDeclaration.name: String