EA-235759 // NPE fix
https://ea.jetbrains.com/browser/ea_problems/235759
This commit is contained in:
@@ -67,7 +67,7 @@ object DslMarkerUtils {
|
|||||||
|
|
||||||
|
|
||||||
private fun Annotations.extractDslMarkerFqNames() =
|
private fun Annotations.extractDslMarkerFqNames() =
|
||||||
filter(AnnotationDescriptor::isDslMarker).map { it.fqName!! }
|
filter(AnnotationDescriptor::isDslMarker).mapNotNull { it.fqName }
|
||||||
|
|
||||||
private fun AnnotationDescriptor.isDslMarker(): Boolean {
|
private fun AnnotationDescriptor.isDslMarker(): Boolean {
|
||||||
val classDescriptor = annotationClass ?: return false
|
val classDescriptor = annotationClass ?: return false
|
||||||
|
|||||||
Reference in New Issue
Block a user