public class FilteredIndexView extends Object implements org.jboss.jandex.IndexView
IndexView instance and filters the contents based on the
settings provided via OpenApiConfig.| Constructor and Description |
|---|
FilteredIndexView(org.jboss.jandex.IndexView delegate,
OpenApiConfig config)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(org.jboss.jandex.DotName className)
Returns true if the class name should be included in the index (is either included or
not excluded).
|
boolean |
accepts(org.jboss.jandex.DotName className,
boolean allowImpliedInclusion)
Returns true if the class name should be included in the index (is either included or
not excluded).
|
boolean |
explicitlyAccepts(org.jboss.jandex.DotName className)
Returns true if the class name should be included in the index, only when explicitly
included (and not excluded) via configuration.
|
Collection<org.jboss.jandex.ClassInfo> |
getAllKnownImplementors(org.jboss.jandex.DotName interfaceName) |
Collection<org.jboss.jandex.ClassInfo> |
getAllKnownSubclasses(org.jboss.jandex.DotName className) |
Collection<org.jboss.jandex.AnnotationInstance> |
getAnnotations(org.jboss.jandex.DotName annotationName) |
Collection<org.jboss.jandex.AnnotationInstance> |
getAnnotationsWithRepeatable(org.jboss.jandex.DotName annotationName,
org.jboss.jandex.IndexView annotationIndex) |
org.jboss.jandex.ClassInfo |
getClassByName(org.jboss.jandex.DotName className) |
Collection<org.jboss.jandex.ClassInfo> |
getKnownClasses() |
Collection<org.jboss.jandex.ClassInfo> |
getKnownDirectImplementors(org.jboss.jandex.DotName className) |
Collection<org.jboss.jandex.ClassInfo> |
getKnownDirectSubclasses(org.jboss.jandex.DotName className) |
public FilteredIndexView(org.jboss.jandex.IndexView delegate,
OpenApiConfig config)
delegate - the original (to be wrapped) indexconfig - the configpublic boolean accepts(org.jboss.jandex.DotName className)
className - the name of the classpublic boolean explicitlyAccepts(org.jboss.jandex.DotName className)
className - the name of the classpublic boolean accepts(org.jboss.jandex.DotName className,
boolean allowImpliedInclusion)
className - the name of the classallowImpliedInclusion - whether the class may be implied for inclusionpublic Collection<org.jboss.jandex.ClassInfo> getKnownClasses()
getKnownClasses in interface org.jboss.jandex.IndexViewIndexView.getKnownClasses()public org.jboss.jandex.ClassInfo getClassByName(org.jboss.jandex.DotName className)
getClassByName in interface org.jboss.jandex.IndexViewIndexView.getClassByName(org.jboss.jandex.DotName)public Collection<org.jboss.jandex.ClassInfo> getKnownDirectSubclasses(org.jboss.jandex.DotName className)
getKnownDirectSubclasses in interface org.jboss.jandex.IndexViewIndexView.getKnownDirectSubclasses(org.jboss.jandex.DotName)public Collection<org.jboss.jandex.ClassInfo> getAllKnownSubclasses(org.jboss.jandex.DotName className)
getAllKnownSubclasses in interface org.jboss.jandex.IndexViewIndexView.getAllKnownSubclasses(org.jboss.jandex.DotName)public Collection<org.jboss.jandex.ClassInfo> getKnownDirectImplementors(org.jboss.jandex.DotName className)
getKnownDirectImplementors in interface org.jboss.jandex.IndexViewIndexView.getKnownDirectImplementors(org.jboss.jandex.DotName)public Collection<org.jboss.jandex.ClassInfo> getAllKnownImplementors(org.jboss.jandex.DotName interfaceName)
getAllKnownImplementors in interface org.jboss.jandex.IndexViewIndexView.getAllKnownImplementors(org.jboss.jandex.DotName)public Collection<org.jboss.jandex.AnnotationInstance> getAnnotations(org.jboss.jandex.DotName annotationName)
getAnnotations in interface org.jboss.jandex.IndexViewIndexView.getAnnotations(org.jboss.jandex.DotName)public Collection<org.jboss.jandex.AnnotationInstance> getAnnotationsWithRepeatable(org.jboss.jandex.DotName annotationName, org.jboss.jandex.IndexView annotationIndex)
getAnnotationsWithRepeatable in interface org.jboss.jandex.IndexViewIndexView.getAnnotationsWithRepeatable(org.jboss.jandex.DotName, org.jboss.jandex.IndexView)Copyright © 2018–2021. All rights reserved.