Package 

Class KsputilsKt

  • All Implemented Interfaces:

    
    public final class KsputilsKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static <T extends Annotation> Boolean couldBe(KSAnnotation $self, KClass<T> annotation) Light check without type resolution.
      final static <T extends Annotation> Boolean isEqualTo(KSAnnotation $self, KClass<T> annotation) Heavy check with type resolution
      final static <T extends Annotation> KSAnnotation findAnnotation(KSAnnotated $self, KClass<T> annotation)
      final static TypeName asTypeName(KSTypeReference $self)
      final static TypeName asTypeName(KSType $self)
      final static ClassName asClassName(KSDeclaration $self)
      final static ClassName asClassName(KSType $self)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • couldBe

         final static <T extends Annotation> Boolean couldBe(KSAnnotation $self, KClass<T> annotation)

        Light check without type resolution. A positive result does not guarantee equality

      • asTypeName

         final static TypeName asTypeName(KSTypeReference $self)
      • asTypeName

         final static TypeName asTypeName(KSType $self)
      • asClassName

         final static ClassName asClassName(KSDeclaration $self)
      • asClassName

         final static ClassName asClassName(KSType $self)