Class DescriptorUtilsKt
-
- All Implemented Interfaces:
public final class DescriptorUtilsKt
-
-
Method Summary
Modifier and Type Method Description final static Set<Modifier>toKSModifiers(MemberDescriptor $self)final static Set<Modifier>toFunctionKSModifiers(FunctionDescriptor $self)final static BooleanhasBackingFieldWithBinaryClassSupport(PropertyDescriptor $self)Custom check for backing fields of descriptors that support properties coming from .class files. final static BooleanhasAnnotation(KSAnnotated $self, String fqn)final static Sequence<KSType>extractThrowsFromClassFile(Resolver $self, ByteArray virtualFileContent, String jvmDesc, String simpleName)-
-
Method Detail
-
toKSModifiers
final static Set<Modifier> toKSModifiers(MemberDescriptor $self)
-
toFunctionKSModifiers
final static Set<Modifier> toFunctionKSModifiers(FunctionDescriptor $self)
-
hasBackingFieldWithBinaryClassSupport
final static Boolean hasBackingFieldWithBinaryClassSupport(PropertyDescriptor $self)
Custom check for backing fields of descriptors that support properties coming from .class files. The compiler API always returns true for them even when they don't have backing fields.
-
hasAnnotation
final static Boolean hasAnnotation(KSAnnotated $self, String fqn)
-
extractThrowsFromClassFile
final static Sequence<KSType> extractThrowsFromClassFile(Resolver $self, ByteArray virtualFileContent, String jvmDesc, String simpleName)
-
-
-
-