[AA] KtAnnotationUseSiteTargetRenderer: simplify condition
^KT-56046
This commit is contained in:
committed by
Space Team
parent
1e04811c15
commit
af569afb3e
+1
-2
@@ -51,8 +51,7 @@ public interface KtAnnotationUseSiteTargetRenderer {
|
|||||||
|
|
||||||
is KtJavaFieldSymbol -> true
|
is KtJavaFieldSymbol -> true
|
||||||
is KtLocalVariableSymbol -> true
|
is KtLocalVariableSymbol -> true
|
||||||
is KtKotlinPropertySymbol -> annotation.useSiteTarget != AnnotationUseSiteTarget.PROPERTY
|
is KtPropertySymbol -> annotation.useSiteTarget != AnnotationUseSiteTarget.PROPERTY
|
||||||
is KtSyntheticJavaPropertySymbol -> annotation.useSiteTarget != AnnotationUseSiteTarget.PROPERTY
|
|
||||||
else -> return
|
else -> return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user