Package org.jboss.jandex
Class ClassSummary
- java.lang.Object
-
- org.jboss.jandex.ClassSummary
-
public final class ClassSummary extends java.lang.ObjectSummary of a just-indexed class, returned byIndexer.indexWithSummary(InputStream). Contains overview information for reporting progress in batch indexers, as well as some structural information that can safely be exposed to callers during indexing.This class must not expose information that could possibly change during post-processing, when completing the index.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<DotName>annotationsprivate DotNamenameprivate DotNamesuperclassName
-
Constructor Summary
Constructors Constructor Description ClassSummary(DotName name, DotName superclassName, java.util.Set<DotName> annotations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<DotName>annotations()Returns the names of annotations present in this class.intannotationsCount()Returns the number of types of annotations present in this class.DotNamename()Returns the name of this class.DotNamesuperclassName()Returns the name of this class's superclass.
-
-
-
Method Detail
-
name
public DotName name()
Returns the name of this class.
-
superclassName
public DotName superclassName()
Returns the name of this class's superclass.
-
annotations
public java.util.Set<DotName> annotations()
Returns the names of annotations present in this class.
-
annotationsCount
public int annotationsCount()
Returns the number of types of annotations present in this class.
-
-