Minor. Rename method
This commit is contained in:
+1
-1
@@ -350,7 +350,7 @@ public class ConstantExpressionEvaluator private (val trace: BindingTrace) : Jet
|
||||
if (DescriptorUtils.isAnnotationClass(classDescriptor)) {
|
||||
val descriptor = AnnotationDescriptorImpl()
|
||||
descriptor.setAnnotationType(classDescriptor.getDefaultType())
|
||||
AnnotationResolver.resolveAnnotationArgument(descriptor, call, trace)
|
||||
AnnotationResolver.resolveAnnotationArguments(descriptor, call, trace)
|
||||
return AnnotationValue(descriptor)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -215,11 +215,11 @@ public class AnnotationResolver {
|
||||
if (results.isSingleResult()) {
|
||||
AnnotationDescriptorImpl annotationDescriptor = trace.getBindingContext().get(BindingContext.ANNOTATION, annotationEntry);
|
||||
assert annotationDescriptor != null : "Annotation descriptor should be created before resolving arguments for " + annotationEntry.getText();
|
||||
resolveAnnotationArgument(annotationDescriptor, results.getResultingCall(), trace);
|
||||
resolveAnnotationArguments(annotationDescriptor, results.getResultingCall(), trace);
|
||||
}
|
||||
}
|
||||
|
||||
public static void resolveAnnotationArgument(
|
||||
public static void resolveAnnotationArguments(
|
||||
@NotNull AnnotationDescriptorImpl annotationDescriptor,
|
||||
@NotNull ResolvedCall<?> resolvedCall,
|
||||
@NotNull BindingTrace trace
|
||||
|
||||
Reference in New Issue
Block a user