io.swagger.v3.jaxrs2.integration.JaxrsApplicationAndAnnotationScanner Maven / Gradle / Ivy
package io.swagger.v3.jaxrs2.integration;
import java.util.HashSet;
import java.util.Set;
public class JaxrsApplicationAndAnnotationScanner extends JaxrsAnnotationScanner {
@Override
public Set> classes() {
Set> classes = super.classes();
Set> output = new HashSet<>();
if (application != null) {
Set> clzs = application.getClasses();
if (clzs != null) {
for (Class> clz : clzs) {
if (!isIgnored(clz.getName())) {
output.add(clz);
}
}
}
Set