I’m new to the subject of Quarkus. How can I use Jandex index in a java class? I added a goal to the maven to build index, then I created a class but don’t know go how to use it? I can create a index by using Indexer but then I need to decalare all classes to scan. How can I solve it better?
private void testIndex() {
Indexer indexer = new Indexer();
try
{
indexer.indexClass( MyClass.class );
Collection< ClassInfo > knownClasses = indexer.complete()
.getKnownClasses();
}
catch( IOException e )
{
throw new RuntimeException( e );
}
}