Rename generateCompareTo to generatePageIndexCompareTo
@@ -115,12 +115,12 @@ public class OrderingCompiler
type(PagesIndexComparator.class));
classDefinition.declareDefaultConstructor(a(PUBLIC));
- generateCompareTo(classDefinition, callSiteBinder, sortTypes, sortChannels, sortOrders);
+ generatePageIndexCompareTo(classDefinition, callSiteBinder, sortTypes, sortChannels, sortOrders);
return defineClass(classDefinition, PagesIndexComparator.class, callSiteBinder.getBindings(), getClass().getClassLoader());
}
- private static void generateCompareTo(ClassDefinition classDefinition, CallSiteBinder callSiteBinder, List<Type> sortTypes, List<Integer> sortChannels, List<SortOrder> sortOrders)
+ private static void generatePageIndexCompareTo(ClassDefinition classDefinition, CallSiteBinder callSiteBinder, List<Type> sortTypes, List<Integer> sortChannels, List<SortOrder> sortOrders)
{
Parameter pagesIndex = arg("pagesIndex", PagesIndex.class);
Parameter leftPosition = arg("leftPosition", int.class);
