Annotation arguments resolve refactoring via ForceResolveUtil. Deptecated...Intention fixed accordingly
This commit is contained in:
@@ -262,7 +262,6 @@ public abstract class ElementResolver protected(
|
||||
}
|
||||
|
||||
private fun doResolveAnnotations(annotations: Annotations) {
|
||||
AnnotationResolver.resolveAnnotationsArguments(annotations)
|
||||
ForceResolveUtil.forceResolveAllContents(annotations)
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -105,6 +105,7 @@ public class DeprecatedCallableAddReplaceWithIntention : JetSelfTargetingRangeIn
|
||||
val bindingContext = this.analyze()
|
||||
// val deprecatedConstructor = KotlinBuiltIns.getInstance().getDeprecatedAnnotation().getUnsubstitutedPrimaryConstructor()
|
||||
for (entry in getAnnotationEntries()) {
|
||||
entry.analyze()
|
||||
val resolvedCall = entry.getCalleeExpression().getResolvedCall(bindingContext) ?: continue
|
||||
if (!resolvedCall.getStatus().isSuccess()) continue
|
||||
// if (resolvedCall.getResultingDescriptor() != deprecatedConstructor) continue
|
||||
|
||||
Reference in New Issue
Block a user