@@ -165,7 +165,7 @@ private void indexElements(Iterable<? extends Element> elements, TypeElement typ
165165 String name = utils .getSimpleName (element );
166166 Character ch = keyCharacter (name );
167167 SortedSet <IndexItem > set = indexMap .computeIfAbsent (ch , c -> new TreeSet <>(comparator ));
168- set .add (new IndexItem (element , typeElement , configuration . utils ));
168+ set .add (new IndexItem (element , typeElement , utils ));
169169 }
170170 }
171171 }
@@ -181,7 +181,7 @@ private void indexTypeElements(Iterable<TypeElement> elements) {
181181 String name = utils .getSimpleName (typeElement );
182182 Character ch = keyCharacter (name );
183183 SortedSet <IndexItem > set = indexMap .computeIfAbsent (ch , c -> new TreeSet <>(comparator ));
184- set .add (new IndexItem (typeElement , configuration . utils ));
184+ set .add (new IndexItem (typeElement , utils ));
185185 }
186186 }
187187 }
@@ -197,7 +197,7 @@ private void indexModules() {
197197 for (ModuleElement m : configuration .modules ) {
198198 Character ch = keyCharacter (m .getQualifiedName ().toString ());
199199 SortedSet <IndexItem > set = indexMap .computeIfAbsent (ch , c -> new TreeSet <>(comparator ));
200- set .add (new IndexItem (m , configuration . utils ));
200+ set .add (new IndexItem (m , utils ));
201201 }
202202 }
203203
@@ -210,7 +210,7 @@ private void indexPackage(PackageElement packageElement) {
210210 if (shouldIndex (packageElement )) {
211211 Character ch = keyCharacter (utils .getPackageName (packageElement ));
212212 SortedSet <IndexItem > set = indexMap .computeIfAbsent (ch , c -> new TreeSet <>(comparator ));
213- set .add (new IndexItem (packageElement , configuration . utils ));
213+ set .add (new IndexItem (packageElement , utils ));
214214 }
215215 }
216216
@@ -225,14 +225,14 @@ private boolean shouldIndex(Element element) {
225225 if (utils .isPackage (element )) {
226226 // Do not add to index map if -nodeprecated option is set and the
227227 // package is marked as deprecated.
228- return !(noDeprecated && configuration . utils .isDeprecated (element ));
228+ return !(noDeprecated && utils .isDeprecated (element ));
229229 } else {
230230 // Do not add to index map if -nodeprecated option is set and if the
231231 // element is marked as deprecated or the containing package is marked as
232232 // deprecated.
233233 return !(noDeprecated &&
234- (configuration . utils .isDeprecated (element ) ||
235- configuration . utils .isDeprecated (utils .containingPackage (element ))));
234+ (utils .isDeprecated (element ) ||
235+ utils .isDeprecated (utils .containingPackage (element ))));
236236 }
237237 }
238238
0 commit comments