Minor. Rename method

This commit is contained in:
Andrey Breslav
2014-03-21 15:11:07 +04:00
parent f6439ade55
commit 368381a861
2 changed files with 3 additions and 3 deletions
@@ -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