-
public final class KsputilsKt
-
-
Field Summary
Fields Modifier and Type Field Description private final static StringnormalizedPackageName
-
Method Summary
Modifier and Type Method Description final StringgetNormalizedPackageName()final static <T extends Annotation> BooleanhasAnnotation(KSAnnotated $self)final static <T extends Annotation> BooleanhasAnnotation(KSAnnotated $self, KClass<T> annotation)final static <T extends Annotation> KSAnnotationgetAnnotation(KSAnnotated $self)final static <T extends Annotation> KSAnnotationgetAnnotation(KSAnnotated $self, KClass<T> annotation)final static <T extends Annotation> KSTypegetAnnotationTypeProperty(KSAnnotated $self, KProperty1<T, KClass<?>> property)final static <T extends Annotation, R extends Any> RgetAnnotationProperty(KSAnnotated $self, KProperty1<T, R> property)final static List<KSClassDeclaration>getClassesWithAnnotation(Resolver $self, String name)-
-
Method Detail
-
getNormalizedPackageName
final String getNormalizedPackageName()
-
hasAnnotation
final static <T extends Annotation> Boolean hasAnnotation(KSAnnotated $self)
-
hasAnnotation
final static <T extends Annotation> Boolean hasAnnotation(KSAnnotated $self, KClass<T> annotation)
-
getAnnotation
final static <T extends Annotation> KSAnnotation getAnnotation(KSAnnotated $self)
-
getAnnotation
final static <T extends Annotation> KSAnnotation getAnnotation(KSAnnotated $self, KClass<T> annotation)
-
getAnnotationTypeProperty
final static <T extends Annotation> KSType getAnnotationTypeProperty(KSAnnotated $self, KProperty1<T, KClass<?>> property)
-
getAnnotationProperty
final static <T extends Annotation, R extends Any> R getAnnotationProperty(KSAnnotated $self, KProperty1<T, R> property)
-
getClassesWithAnnotation
final static List<KSClassDeclaration> getClassesWithAnnotation(Resolver $self, String name)
-
-
-
-