I'm trying to create a stub file for an existing class. The example of java.lang.String in the manual works fine. However when I try and generate a stub for a class outside the JDK I get an error that the class cannot be found. Here is the command line that I'm using:
StubGenerator: Couldn't find a package or a class named org.slf4j.Logger
This shows that the class that I'm looking for is inside a jar on the classpath:
>jar -tf ~/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.30/b5a4b6d16ab13e34a88fae84c35cd5d68cac922c/slf4j-api-1.7.30.jar | grep org/slf4j/Logger
org/slf4j/Logger.class
org/slf4j/LoggerFactory.class
How does StubGenerator search for the classes to annotate?
Thank you,
Jon