@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
/ *
* Copyright 2002 - 2021 the original author or authors .
* Copyright 2002 - 2023 the original author or authors .
*
* Licensed under the Apache License , Version 2 . 0 ( the "License" ) ;
* you may not use this file except in compliance with the License .
@ -133,8 +133,8 @@ public class CandidateComponentsIndexer implements Processor {
@@ -133,8 +133,8 @@ public class CandidateComponentsIndexer implements Processor {
List < TypeElement > list = new ArrayList < > ( ) ;
for ( Element element : elements ) {
if ( ( element . getKind ( ) . isClass ( ) | | element . getKind ( ) = = ElementKind . INTERFACE ) & &
element . getModifiers ( ) . contains ( Modifier . STATIC ) & & element instanceof TypeElement ) {
list . add ( ( TypeElemen t) element ) ;
element . getModifiers ( ) . contains ( Modifier . STATIC ) & & element instanceof TypeElement te ) {
list . add ( te ) ;
}
}
return list ;